@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.
|
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, setSdkResponseMetadata
public 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.
location
- The fully qualified URI of the new public key resource just created.public String getLocation()
The fully qualified URI of the new public key resource just created.
public CreatePublicKeyResult withLocation(String location)
The fully qualified URI of the new public key resource just created.
location
- The fully qualified URI of the new public key resource just created.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 Object
Object.toString()
public CreatePublicKeyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.