Interface AccessDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccessDetail.Builder,
,AccessDetail> SdkBuilder<AccessDetail.Builder,
,AccessDetail> SdkPojo
- Enclosing class:
AccessDetail
-
Method Summary
Modifier and TypeMethodDescriptionentityPath
(String entityPath) The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service.lastAuthenticatedTime
(Instant lastAuthenticatedTime) The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service.The Region where the last service access attempt occurred.serviceName
(String serviceName) The name of the service in which access was attempted.serviceNamespace
(String serviceNamespace) The namespace of the service in which access was attempted.totalAuthenticatedEntities
(Integer totalAuthenticatedEntities) The number of accounts with authenticated principals (root user, IAM users, and IAM roles) that attempted to access the service in the tracking period.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serviceName
The name of the service in which access was attempted.
- Parameters:
serviceName
- The name of the service in which access was attempted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNamespace
The namespace of the service in which access was attempted.
To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.- Parameters:
serviceNamespace
- The namespace of the service in which access was attempted.To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The Region where the last service access attempt occurred.
This field is null if no principals in the reported Organizations entity attempted to access the service within the tracking period.
- Parameters:
region
- The Region where the last service access attempt occurred.This field is null if no principals in the reported Organizations entity attempted to access the service within the tracking period.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityPath
The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.
This field is null if no principals (IAM users, IAM roles, or root user) in the reported Organizations entity attempted to access the service within the tracking period.
- Parameters:
entityPath
- The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.This field is null if no principals (IAM users, IAM roles, or root user) in the reported Organizations entity attempted to access the service within the tracking period.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastAuthenticatedTime
The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.
This field is null if no principals in the reported Organizations entity attempted to access the service within the tracking period.
- Parameters:
lastAuthenticatedTime
- The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.This field is null if no principals in the reported Organizations entity attempted to access the service within the tracking period.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalAuthenticatedEntities
The number of accounts with authenticated principals (root user, IAM users, and IAM roles) that attempted to access the service in the tracking period.
- Parameters:
totalAuthenticatedEntities
- The number of accounts with authenticated principals (root user, IAM users, and IAM roles) that attempted to access the service in the tracking period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-