Interface RoleLastUsed.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RoleLastUsed.Builder,RoleLastUsed>, SdkBuilder<RoleLastUsed.Builder,RoleLastUsed>, SdkPojo
Enclosing class:
RoleLastUsed

public static interface RoleLastUsed.Builder extends SdkPojo, CopyableBuilder<RoleLastUsed.Builder,RoleLastUsed>
  • Method Details

    • lastUsedDate

      RoleLastUsed.Builder lastUsedDate(Instant lastUsedDate)

      The date and time, in ISO 8601 date-time format that the role was last used.

      This field is null if the role has not been used within the IAM tracking period. For more information about the tracking period, see Regions where data is tracked in the IAM User Guide.

      Parameters:
      lastUsedDate - The date and time, in ISO 8601 date-time format that the role was last used.

      This field is null if the role has not been used within the IAM tracking period. For more information about the tracking period, see Regions where data is tracked in the IAM User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      RoleLastUsed.Builder region(String region)

      The name of the Amazon Web Services Region in which the role was last used.

      Parameters:
      region - The name of the Amazon Web Services Region in which the role was last used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.