Interface EntityDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EntityDetails.Builder,
,EntityDetails> SdkBuilder<EntityDetails.Builder,
,EntityDetails> SdkPojo
- Enclosing class:
EntityDetails
public static interface EntityDetails.Builder
extends SdkPojo, CopyableBuilder<EntityDetails.Builder,EntityDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EntityDetails.Builder
entityInfo
(Consumer<EntityInfo.Builder> entityInfo) TheEntityInfo
object that contains details about the entity (user or role).entityInfo
(EntityInfo entityInfo) TheEntityInfo
object that contains details about the entity (user or role).lastAuthenticated
(Instant lastAuthenticated) The date and time, in ISO 8601 date-time format, when the authenticated entity last attempted to access Amazon Web Services.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
-
entityInfo
The
EntityInfo
object that contains details about the entity (user or role).- Parameters:
entityInfo
- TheEntityInfo
object that contains details about the entity (user or role).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityInfo
The
This is a convenience method that creates an instance of theEntityInfo
object that contains details about the entity (user or role).EntityInfo.Builder
avoiding the need to create one manually viaEntityInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentityInfo(EntityInfo)
.- Parameters:
entityInfo
- a consumer that will call methods onEntityInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastAuthenticated
The date and time, in ISO 8601 date-time format, when the authenticated entity last attempted to access Amazon Web Services. Amazon Web Services does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the tracking period.
- Parameters:
lastAuthenticated
- The date and time, in ISO 8601 date-time format, when the authenticated entity last attempted to access Amazon Web Services. Amazon Web Services does not report unauthenticated requests.This field is null if no IAM entities attempted to access the service within the tracking period.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-