@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceLastAccessed extends Object implements Serializable, Cloneable
Contains details about the most recent attempt to access the service.
This data type is used as a response element in the GetServiceLastAccessedDetails operation.
Constructor and Description |
---|
ServiceLastAccessed() |
Modifier and Type | Method and Description |
---|---|
ServiceLastAccessed |
clone() |
boolean |
equals(Object obj) |
Date |
getLastAuthenticated()
The date and time, in ISO 8601 date-time format, when an
authenticated entity most recently attempted to access the service.
|
String |
getLastAuthenticatedEntity()
The ARN of the authenticated entity (user or role) that last attempted to access the service.
|
String |
getServiceName()
The name of the service in which access was attempted.
|
String |
getServiceNamespace()
The namespace of the service in which access was attempted.
|
Integer |
getTotalAuthenticatedEntities()
The total number of authenticated entities that have attempted to access the service.
|
int |
hashCode() |
void |
setLastAuthenticated(Date lastAuthenticated)
The date and time, in ISO 8601 date-time format, when an
authenticated entity most recently attempted to access the service.
|
void |
setLastAuthenticatedEntity(String lastAuthenticatedEntity)
The ARN of the authenticated entity (user or role) that last attempted to access the service.
|
void |
setServiceName(String serviceName)
The name of the service in which access was attempted.
|
void |
setServiceNamespace(String serviceNamespace)
The namespace of the service in which access was attempted.
|
void |
setTotalAuthenticatedEntities(Integer totalAuthenticatedEntities)
The total number of authenticated entities that have attempted to access the service.
|
String |
toString()
Returns a string representation of this object.
|
ServiceLastAccessed |
withLastAuthenticated(Date lastAuthenticated)
The date and time, in ISO 8601 date-time format, when an
authenticated entity most recently attempted to access the service.
|
ServiceLastAccessed |
withLastAuthenticatedEntity(String lastAuthenticatedEntity)
The ARN of the authenticated entity (user or role) that last attempted to access the service.
|
ServiceLastAccessed |
withServiceName(String serviceName)
The name of the service in which access was attempted.
|
ServiceLastAccessed |
withServiceNamespace(String serviceNamespace)
The namespace of the service in which access was attempted.
|
ServiceLastAccessed |
withTotalAuthenticatedEntities(Integer totalAuthenticatedEntities)
The total number of authenticated entities that have attempted to access the service.
|
public void setServiceName(String serviceName)
The name of the service in which access was attempted.
serviceName
- The name of the service in which access was attempted.public String getServiceName()
The name of the service in which access was attempted.
public ServiceLastAccessed withServiceName(String serviceName)
The name of the service in which access was attempted.
serviceName
- The name of the service in which access was attempted.public void setLastAuthenticated(Date lastAuthenticated)
The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. AWS does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
lastAuthenticated
- The date and time, in ISO 8601 date-time format, when an
authenticated entity most recently attempted to access the service. AWS does not report unauthenticated
requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
public Date getLastAuthenticated()
The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. AWS does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
This field is null if no IAM entities attempted to access the service within the reporting period.
public ServiceLastAccessed withLastAuthenticated(Date lastAuthenticated)
The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. AWS does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
lastAuthenticated
- The date and time, in ISO 8601 date-time format, when an
authenticated entity most recently attempted to access the service. AWS does not report unauthenticated
requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
public void setServiceNamespace(String serviceNamespace)
The namespace of the service in which access was attempted.
To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name of the
service to view details for that service. In the first paragraph, find the service prefix. For example,
(service prefix: a4b)
. For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.
serviceNamespace
- The namespace of the service in which access was attempted.
To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name
of the service to view details for that service. In the first paragraph, find the service prefix. For
example, (service prefix: a4b)
. For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.
public String getServiceNamespace()
The namespace of the service in which access was attempted.
To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name of the
service to view details for that service. In the first paragraph, find the service prefix. For example,
(service prefix: a4b)
. For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.
To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the
name of the service to view details for that service. In the first paragraph, find the service prefix.
For example, (service prefix: a4b)
. For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.
public ServiceLastAccessed withServiceNamespace(String serviceNamespace)
The namespace of the service in which access was attempted.
To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name of the
service to view details for that service. In the first paragraph, find the service prefix. For example,
(service prefix: a4b)
. For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.
serviceNamespace
- The namespace of the service in which access was attempted.
To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services in the IAM User Guide. Choose the name
of the service to view details for that service. In the first paragraph, find the service prefix. For
example, (service prefix: a4b)
. For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.
public void setLastAuthenticatedEntity(String lastAuthenticatedEntity)
The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
lastAuthenticatedEntity
- The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not
report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
public String getLastAuthenticatedEntity()
The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
This field is null if no IAM entities attempted to access the service within the reporting period.
public ServiceLastAccessed withLastAuthenticatedEntity(String lastAuthenticatedEntity)
The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
lastAuthenticatedEntity
- The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not
report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
public void setTotalAuthenticatedEntities(Integer totalAuthenticatedEntities)
The total number of authenticated entities that have attempted to access the service.
This field is null if no IAM entities attempted to access the service within the reporting period.
totalAuthenticatedEntities
- The total number of authenticated entities that have attempted to access the service.
This field is null if no IAM entities attempted to access the service within the reporting period.
public Integer getTotalAuthenticatedEntities()
The total number of authenticated entities that have attempted to access the service.
This field is null if no IAM entities attempted to access the service within the reporting period.
This field is null if no IAM entities attempted to access the service within the reporting period.
public ServiceLastAccessed withTotalAuthenticatedEntities(Integer totalAuthenticatedEntities)
The total number of authenticated entities that have attempted to access the service.
This field is null if no IAM entities attempted to access the service within the reporting period.
totalAuthenticatedEntities
- The total number of authenticated entities that have attempted to access the service.
This field is null if no IAM entities attempted to access the service within the reporting period.
public String toString()
toString
in class Object
Object.toString()
public ServiceLastAccessed clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.