@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublicKeyConfig extends Object implements Serializable, Cloneable
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
| Constructor and Description | 
|---|
| PublicKeyConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| PublicKeyConfig | clone() | 
| boolean | equals(Object obj) | 
| String | getCallerReference()
 A string included in the request to help make sure that the request can’t be replayed. | 
| String | getComment()
 A comment to describe the public key. | 
| String | getEncodedKey()
 The public key that you can use with signed URLs and
 signed cookies, or with field-level
 encryption. | 
| String | getName()
 A name to help identify the public key. | 
| int | hashCode() | 
| void | setCallerReference(String callerReference)
 A string included in the request to help make sure that the request can’t be replayed. | 
| void | setComment(String comment)
 A comment to describe the public key. | 
| void | setEncodedKey(String encodedKey)
 The public key that you can use with signed URLs and
 signed cookies, or with field-level
 encryption. | 
| void | setName(String name)
 A name to help identify the public key. | 
| String | toString()Returns a string representation of this object. | 
| PublicKeyConfig | withCallerReference(String callerReference)
 A string included in the request to help make sure that the request can’t be replayed. | 
| PublicKeyConfig | withComment(String comment)
 A comment to describe the public key. | 
| PublicKeyConfig | withEncodedKey(String encodedKey)
 The public key that you can use with signed URLs and
 signed cookies, or with field-level
 encryption. | 
| PublicKeyConfig | withName(String name)
 A name to help identify the public key. | 
public void setCallerReference(String callerReference)
A string included in the request to help make sure that the request can’t be replayed.
callerReference - A string included in the request to help make sure that the request can’t be replayed.public String getCallerReference()
A string included in the request to help make sure that the request can’t be replayed.
public PublicKeyConfig withCallerReference(String callerReference)
A string included in the request to help make sure that the request can’t be replayed.
callerReference - A string included in the request to help make sure that the request can’t be replayed.public void setName(String name)
A name to help identify the public key.
name - A name to help identify the public key.public String getName()
A name to help identify the public key.
public PublicKeyConfig withName(String name)
A name to help identify the public key.
name - A name to help identify the public key.public void setEncodedKey(String encodedKey)
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
encodedKey - The public key that you can use with signed URLs
        and signed cookies, or with field-level encryption.public String getEncodedKey()
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
public PublicKeyConfig withEncodedKey(String encodedKey)
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
encodedKey - The public key that you can use with signed URLs
        and signed cookies, or with field-level encryption.public void setComment(String comment)
A comment to describe the public key. The comment cannot be longer than 128 characters.
comment - A comment to describe the public key. The comment cannot be longer than 128 characters.public String getComment()
A comment to describe the public key. The comment cannot be longer than 128 characters.
public PublicKeyConfig withComment(String comment)
A comment to describe the public key. The comment cannot be longer than 128 characters.
comment - A comment to describe the public key. The comment cannot be longer than 128 characters.public String toString()
toString in class ObjectObject.toString()public PublicKeyConfig clone()
Copyright © 2022. All rights reserved.