@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
UpdateKeyResult() |
| Modifier and Type | Method and Description |
|---|---|
UpdateKeyResult |
clone() |
boolean |
equals(Object obj) |
String |
getKeyArn()
The Amazon Resource Name (ARN) for the API key resource.
|
String |
getKeyName()
The name of the API key resource.
|
Date |
getUpdateTime()
The timestamp for when the API key resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
int |
hashCode() |
void |
setKeyArn(String keyArn)
The Amazon Resource Name (ARN) for the API key resource.
|
void |
setKeyName(String keyName)
The name of the API key resource.
|
void |
setUpdateTime(Date updateTime)
The timestamp for when the API key resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
String |
toString()
Returns a string representation of this object.
|
UpdateKeyResult |
withKeyArn(String keyArn)
The Amazon Resource Name (ARN) for the API key resource.
|
UpdateKeyResult |
withKeyName(String keyName)
The name of the API key resource.
|
UpdateKeyResult |
withUpdateTime(Date updateTime)
The timestamp for when the API key resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setKeyArn(String keyArn)
The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across all Amazon Web Services.
Format example: arn:aws:geo:region:account-id:key/ExampleKey
keyArn - The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across
all Amazon Web Services.
Format example: arn:aws:geo:region:account-id:key/ExampleKey
public String getKeyArn()
The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across all Amazon Web Services.
Format example: arn:aws:geo:region:account-id:key/ExampleKey
Format example: arn:aws:geo:region:account-id:key/ExampleKey
public UpdateKeyResult withKeyArn(String keyArn)
The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across all Amazon Web Services.
Format example: arn:aws:geo:region:account-id:key/ExampleKey
keyArn - The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across
all Amazon Web Services.
Format example: arn:aws:geo:region:account-id:key/ExampleKey
public void setKeyName(String keyName)
The name of the API key resource.
keyName - The name of the API key resource.public String getKeyName()
The name of the API key resource.
public UpdateKeyResult withKeyName(String keyName)
The name of the API key resource.
keyName - The name of the API key resource.public void setUpdateTime(Date updateTime)
The timestamp for when the API key resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
updateTime - The timestamp for when the API key resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.public Date getUpdateTime()
The timestamp for when the API key resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
YYYY-MM-DDThh:mm:ss.sssZ.public UpdateKeyResult withUpdateTime(Date updateTime)
The timestamp for when the API key resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
updateTime - The timestamp for when the API key resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.public String toString()
toString in class ObjectObject.toString()public UpdateKeyResult clone()