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.BuilderentityInfo(Consumer<EntityInfo.Builder> entityInfo) TheEntityInfoobject that contains details about the entity (user or role).entityInfo(EntityInfo entityInfo) TheEntityInfoobject 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
entityInfo
The
EntityInfoobject that contains details about the entity (user or role).- Parameters:
entityInfo- TheEntityInfoobject 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 theEntityInfoobject that contains details about the entity (user or role).EntityInfo.Builderavoiding the need to create one manually viaEntityInfo.builder().When the
Consumercompletes,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.
-