@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePublicKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreatePublicKeyResult() |
Modifier and Type | Method and Description |
---|---|
CreatePublicKeyResult |
clone() |
boolean |
equals(Object obj) |
String |
getETag()
The identifier for this version of the public key.
|
String |
getLocation()
The URL of the public key.
|
PublicKey |
getPublicKey()
The public key.
|
int |
hashCode() |
void |
setETag(String eTag)
The identifier for this version of the public key.
|
void |
setLocation(String location)
The URL of the public key.
|
void |
setPublicKey(PublicKey publicKey)
The public key.
|
String |
toString()
Returns a string representation of this object.
|
CreatePublicKeyResult |
withETag(String eTag)
The identifier for this version of the public key.
|
CreatePublicKeyResult |
withLocation(String location)
The URL of the public key.
|
CreatePublicKeyResult |
withPublicKey(PublicKey publicKey)
The public key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPublicKey(PublicKey publicKey)
The public key.
publicKey
- The public key.public PublicKey getPublicKey()
The public key.
public CreatePublicKeyResult withPublicKey(PublicKey publicKey)
The public key.
publicKey
- The public key.public void setLocation(String location)
The URL of the public key.
location
- The URL of the public key.public String getLocation()
The URL of the public key.
public CreatePublicKeyResult withLocation(String location)
The URL of the public key.
location
- The URL of the public key.public void setETag(String eTag)
The identifier for this version of the public key.
eTag
- The identifier for this version of the public key.public String getETag()
The identifier for this version of the public key.
public CreatePublicKeyResult withETag(String eTag)
The identifier for this version of the public key.
eTag
- The identifier for this version of the public key.public String toString()
toString
in class Object
Object.toString()
public CreatePublicKeyResult clone()