@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublicKeyConfig extends Object implements Serializable, Cloneable
Information about a public key you add to CloudFront to use with features like field-level encryption.
Constructor and Description |
---|
PublicKeyConfig() |
Modifier and Type | Method and Description |
---|---|
PublicKeyConfig |
clone() |
boolean |
equals(Object obj) |
String |
getCallerReference()
A unique number that ensures that the request can't be replayed.
|
String |
getComment()
An optional comment about a public key.
|
String |
getEncodedKey()
The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
|
String |
getName()
The name for a public key you add to CloudFront to use with features like field-level encryption.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
A unique number that ensures that the request can't be replayed.
|
void |
setComment(String comment)
An optional comment about a public key.
|
void |
setEncodedKey(String encodedKey)
The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
|
void |
setName(String name)
The name for a public key you add to CloudFront to use with features like field-level encryption.
|
String |
toString()
Returns a string representation of this object.
|
PublicKeyConfig |
withCallerReference(String callerReference)
A unique number that ensures that the request can't be replayed.
|
PublicKeyConfig |
withComment(String comment)
An optional comment about a public key.
|
PublicKeyConfig |
withEncodedKey(String encodedKey)
The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
|
PublicKeyConfig |
withName(String name)
The name for a public key you add to CloudFront to use with features like field-level encryption.
|
public void setCallerReference(String callerReference)
A unique number that ensures that the request can't be replayed.
callerReference
- A unique number that ensures that the request can't be replayed.public String getCallerReference()
A unique number that ensures that the request can't be replayed.
public PublicKeyConfig withCallerReference(String callerReference)
A unique number that ensures that the request can't be replayed.
callerReference
- A unique number that ensures that the request can't be replayed.public void setName(String name)
The name for a public key you add to CloudFront to use with features like field-level encryption.
name
- The name for a public key you add to CloudFront to use with features like field-level encryption.public String getName()
The name for a public key you add to CloudFront to use with features like field-level encryption.
public PublicKeyConfig withName(String name)
The name for a public key you add to CloudFront to use with features like field-level encryption.
name
- The name for a public key you add to CloudFront to use with features like field-level encryption.public void setEncodedKey(String encodedKey)
The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
encodedKey
- The encoded public key that you want to add to CloudFront to use with features like field-level
encryption.public String getEncodedKey()
The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
public PublicKeyConfig withEncodedKey(String encodedKey)
The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
encodedKey
- The encoded public key that you want to add to CloudFront to use with features like field-level
encryption.public void setComment(String comment)
An optional comment about a public key.
comment
- An optional comment about a public key.public String getComment()
An optional comment about a public key.
public PublicKeyConfig withComment(String comment)
An optional comment about a public key.
comment
- An optional comment about a public key.public String toString()
toString
in class Object
Object.toString()
public PublicKeyConfig clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.