Interface RoleLastUsed.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RoleLastUsed.Builder,RoleLastUsed>,SdkBuilder<RoleLastUsed.Builder,RoleLastUsed>,SdkPojo
- Enclosing class:
- RoleLastUsed
@Mutable @NotThreadSafe public static interface RoleLastUsed.Builder extends SdkPojo, CopyableBuilder<RoleLastUsed.Builder,RoleLastUsed>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoleLastUsed.BuilderlastUsedDate(Instant lastUsedDate)The date and time, in ISO 8601 date-time format that the role was last used.RoleLastUsed.Builderregion(String region)The name of the Amazon Web Services Region in which the role was last used.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.
-
-