@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 current version of the public key.
|
String |
getLocation()
The fully qualified URI of the new public key resource just created.
|
PublicKey |
getPublicKey()
Returned when you add a public key.
|
int |
hashCode() |
void |
setETag(String eTag)
The current version of the public key.
|
void |
setLocation(String location)
The fully qualified URI of the new public key resource just created.
|
void |
setPublicKey(PublicKey publicKey)
Returned when you add a public key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreatePublicKeyResult |
withETag(String eTag)
The current version of the public key.
|
CreatePublicKeyResult |
withLocation(String location)
The fully qualified URI of the new public key resource just created.
|
CreatePublicKeyResult |
withPublicKey(PublicKey publicKey)
Returned when you add a public key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPublicKey(PublicKey publicKey)
Returned when you add a public key.
publicKey - Returned when you add a public key.public PublicKey getPublicKey()
Returned when you add a public key.
public CreatePublicKeyResult withPublicKey(PublicKey publicKey)
Returned when you add a public key.
publicKey - Returned when you add a public key.public void setLocation(String location)
The fully qualified URI of the new public key resource just created. For example:
https://cloudfront.amazonaws.com/2010-11-01/cloudfront-public-key/EDFDVBD632BHDS5.
location - The fully qualified URI of the new public key resource just created. For example:
https://cloudfront.amazonaws.com/2010-11-01/cloudfront-public-key/EDFDVBD632BHDS5.public String getLocation()
The fully qualified URI of the new public key resource just created. For example:
https://cloudfront.amazonaws.com/2010-11-01/cloudfront-public-key/EDFDVBD632BHDS5.
https://cloudfront.amazonaws.com/2010-11-01/cloudfront-public-key/EDFDVBD632BHDS5.public CreatePublicKeyResult withLocation(String location)
The fully qualified URI of the new public key resource just created. For example:
https://cloudfront.amazonaws.com/2010-11-01/cloudfront-public-key/EDFDVBD632BHDS5.
location - The fully qualified URI of the new public key resource just created. For example:
https://cloudfront.amazonaws.com/2010-11-01/cloudfront-public-key/EDFDVBD632BHDS5.public void setETag(String eTag)
The current version of the public key. For example: E2QWRUHAPOMQZL.
eTag - The current version of the public key. For example: E2QWRUHAPOMQZL.public String getETag()
The current version of the public key. For example: E2QWRUHAPOMQZL.
E2QWRUHAPOMQZL.public CreatePublicKeyResult withETag(String eTag)
The current version of the public key. For example: E2QWRUHAPOMQZL.
eTag - The current version of the public key. For example: E2QWRUHAPOMQZL.public String toString()
toString in class ObjectObject.toString()public CreatePublicKeyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.