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 Details

    • entityInfo

      EntityDetails.Builder entityInfo(EntityInfo entityInfo)

      The EntityInfo object that contains details about the entity (user or role).

      Parameters:
      entityInfo - The EntityInfo 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

      default EntityDetails.Builder entityInfo(Consumer<EntityInfo.Builder> entityInfo)

      The EntityInfo object that contains details about the entity (user or role).

      This is a convenience method that creates an instance of the EntityInfo.Builder avoiding the need to create one manually via EntityInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entityInfo(EntityInfo).

      Parameters:
      entityInfo - a consumer that will call methods on EntityInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastAuthenticated

      EntityDetails.Builder lastAuthenticated(Instant 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.