@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessKeyLastUsed extends Object implements Serializable, Cloneable, StructuredPojo
Describes the last time an access key was used.
This object does not include data in the response of a CreateBucketAccessKey action.
Constructor and Description |
---|
AccessKeyLastUsed() |
Modifier and Type | Method and Description |
---|---|
AccessKeyLastUsed |
clone() |
boolean |
equals(Object obj) |
Date |
getLastUsedDate()
The date and time when the access key was most recently used.
|
String |
getRegion()
The Amazon Web Services Region where this access key was most recently used.
|
String |
getServiceName()
The name of the Amazon Web Services service with which this access key was most recently used.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastUsedDate(Date lastUsedDate)
The date and time when the access key was most recently used.
|
void |
setRegion(String region)
The Amazon Web Services Region where this access key was most recently used.
|
void |
setServiceName(String serviceName)
The name of the Amazon Web Services service with which this access key was most recently used.
|
String |
toString()
Returns a string representation of this object.
|
AccessKeyLastUsed |
withLastUsedDate(Date lastUsedDate)
The date and time when the access key was most recently used.
|
AccessKeyLastUsed |
withRegion(String region)
The Amazon Web Services Region where this access key was most recently used.
|
AccessKeyLastUsed |
withServiceName(String serviceName)
The name of the Amazon Web Services service with which this access key was most recently used.
|
public void setLastUsedDate(Date lastUsedDate)
The date and time when the access key was most recently used.
This value is null if the access key has not been used.
lastUsedDate
- The date and time when the access key was most recently used.
This value is null if the access key has not been used.
public Date getLastUsedDate()
The date and time when the access key was most recently used.
This value is null if the access key has not been used.
This value is null if the access key has not been used.
public AccessKeyLastUsed withLastUsedDate(Date lastUsedDate)
The date and time when the access key was most recently used.
This value is null if the access key has not been used.
lastUsedDate
- The date and time when the access key was most recently used.
This value is null if the access key has not been used.
public void setRegion(String region)
The Amazon Web Services Region where this access key was most recently used.
This value is N/A
if the access key has not been used.
region
- The Amazon Web Services Region where this access key was most recently used.
This value is N/A
if the access key has not been used.
public String getRegion()
The Amazon Web Services Region where this access key was most recently used.
This value is N/A
if the access key has not been used.
This value is N/A
if the access key has not been used.
public AccessKeyLastUsed withRegion(String region)
The Amazon Web Services Region where this access key was most recently used.
This value is N/A
if the access key has not been used.
region
- The Amazon Web Services Region where this access key was most recently used.
This value is N/A
if the access key has not been used.
public void setServiceName(String serviceName)
The name of the Amazon Web Services service with which this access key was most recently used.
This value is N/A
if the access key has not been used.
serviceName
- The name of the Amazon Web Services service with which this access key was most recently used.
This value is N/A
if the access key has not been used.
public String getServiceName()
The name of the Amazon Web Services service with which this access key was most recently used.
This value is N/A
if the access key has not been used.
This value is N/A
if the access key has not been used.
public AccessKeyLastUsed withServiceName(String serviceName)
The name of the Amazon Web Services service with which this access key was most recently used.
This value is N/A
if the access key has not been used.
serviceName
- The name of the Amazon Web Services service with which this access key was most recently used.
This value is N/A
if the access key has not been used.
public String toString()
toString
in class Object
Object.toString()
public AccessKeyLastUsed clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.