@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublicKey extends Object implements Serializable, Cloneable
A public key that you can use with signed URLs and signed cookies, or with field-level encryption.
Constructor and Description |
---|
PublicKey() |
Modifier and Type | Method and Description |
---|---|
PublicKey |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTime()
The date and time when the public key was uploaded.
|
String |
getId()
The identifier of the public key.
|
PublicKeyConfig |
getPublicKeyConfig()
Configuration information about a public key that you can use with signed URLs and
signed cookies, or with field-level
encryption.
|
int |
hashCode() |
void |
setCreatedTime(Date createdTime)
The date and time when the public key was uploaded.
|
void |
setId(String id)
The identifier of the public key.
|
void |
setPublicKeyConfig(PublicKeyConfig publicKeyConfig)
Configuration information about a public key that you can use with signed URLs and
signed cookies, or with field-level
encryption.
|
String |
toString()
Returns a string representation of this object.
|
PublicKey |
withCreatedTime(Date createdTime)
The date and time when the public key was uploaded.
|
PublicKey |
withId(String id)
The identifier of the public key.
|
PublicKey |
withPublicKeyConfig(PublicKeyConfig publicKeyConfig)
Configuration information about a public key that you can use with signed URLs and
signed cookies, or with field-level
encryption.
|
public void setId(String id)
The identifier of the public key.
id
- The identifier of the public key.public String getId()
The identifier of the public key.
public PublicKey withId(String id)
The identifier of the public key.
id
- The identifier of the public key.public void setCreatedTime(Date createdTime)
The date and time when the public key was uploaded.
createdTime
- The date and time when the public key was uploaded.public Date getCreatedTime()
The date and time when the public key was uploaded.
public PublicKey withCreatedTime(Date createdTime)
The date and time when the public key was uploaded.
createdTime
- The date and time when the public key was uploaded.public void setPublicKeyConfig(PublicKeyConfig publicKeyConfig)
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
publicKeyConfig
- Configuration information about a public key that you can use with signed URLs
and signed cookies, or with field-level encryption.public PublicKeyConfig getPublicKeyConfig()
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
public PublicKey withPublicKeyConfig(PublicKeyConfig publicKeyConfig)
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
publicKeyConfig
- Configuration information about a public key that you can use with signed URLs
and signed cookies, or with field-level encryption.public String toString()
toString
in class Object
Object.toString()