@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListKeysResponseEntry extends Object implements Serializable, Cloneable, StructuredPojo
An API key resource listed in your Amazon Web Services account.
Constructor and Description |
---|
ListKeysResponseEntry() |
Modifier and Type | Method and Description |
---|---|
ListKeysResponseEntry |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTime()
The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
String |
getDescription()
The optional description for the API key resource.
|
Date |
getExpireTime()
The timestamp for when the API key resource will expire, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
String |
getKeyName()
The name of the API key resource.
|
ApiKeyRestrictions |
getRestrictions() |
Date |
getUpdateTime()
The timestamp of when the API key was last updated, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateTime(Date createTime)
The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
void |
setDescription(String description)
The optional description for the API key resource.
|
void |
setExpireTime(Date expireTime)
The timestamp for when the API key resource will expire, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
void |
setKeyName(String keyName)
The name of the API key resource.
|
void |
setRestrictions(ApiKeyRestrictions restrictions) |
void |
setUpdateTime(Date updateTime)
The timestamp of when the API key was last updated, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
String |
toString()
Returns a string representation of this object.
|
ListKeysResponseEntry |
withCreateTime(Date createTime)
The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
ListKeysResponseEntry |
withDescription(String description)
The optional description for the API key resource.
|
ListKeysResponseEntry |
withExpireTime(Date expireTime)
The timestamp for when the API key resource will expire, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
ListKeysResponseEntry |
withKeyName(String keyName)
The name of the API key resource.
|
ListKeysResponseEntry |
withRestrictions(ApiKeyRestrictions restrictions) |
ListKeysResponseEntry |
withUpdateTime(Date updateTime)
The timestamp of when the API key was last updated, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
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 ListKeysResponseEntry withKeyName(String keyName)
The name of the API key resource.
keyName
- The name of the API key resource.public void setExpireTime(Date expireTime)
The timestamp for when the API key resource will expire, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
expireTime
- The timestamp for when the API key resource will expire, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.public Date getExpireTime()
The timestamp for when the API key resource will expire, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
YYYY-MM-DDThh:mm:ss.sssZ
.public ListKeysResponseEntry withExpireTime(Date expireTime)
The timestamp for when the API key resource will expire, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
expireTime
- The timestamp for when the API key resource will expire, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.public void setDescription(String description)
The optional description for the API key resource.
description
- The optional description for the API key resource.public String getDescription()
The optional description for the API key resource.
public ListKeysResponseEntry withDescription(String description)
The optional description for the API key resource.
description
- The optional description for the API key resource.public void setRestrictions(ApiKeyRestrictions restrictions)
restrictions
- public ApiKeyRestrictions getRestrictions()
public ListKeysResponseEntry withRestrictions(ApiKeyRestrictions restrictions)
restrictions
- public void setCreateTime(Date createTime)
The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
createTime
- The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.public Date getCreateTime()
The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
YYYY-MM-DDThh:mm:ss.sssZ
.public ListKeysResponseEntry withCreateTime(Date createTime)
The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
createTime
- The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.public void setUpdateTime(Date updateTime)
The timestamp of when the API key was last updated, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
updateTime
- The timestamp of when the API key was last updated, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.public Date getUpdateTime()
The timestamp of when the API key was last updated, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
YYYY-MM-DDThh:mm:ss.sssZ
.public ListKeysResponseEntry withUpdateTime(Date updateTime)
The timestamp of when the API key was last updated, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
updateTime
- The timestamp of when the API key was last updated, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.public String toString()
toString
in class Object
Object.toString()
public ListKeysResponseEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.