Interface UserPolicyGrantPrincipal.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UserPolicyGrantPrincipal.Builder,UserPolicyGrantPrincipal>,SdkBuilder<UserPolicyGrantPrincipal.Builder,UserPolicyGrantPrincipal>,SdkPojo
- Enclosing class:
- UserPolicyGrantPrincipal
public static interface UserPolicyGrantPrincipal.Builder extends SdkPojo, CopyableBuilder<UserPolicyGrantPrincipal.Builder,UserPolicyGrantPrincipal>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UserPolicyGrantPrincipal.BuilderallUsersGrantFilter(Consumer<AllUsersGrantFilter.Builder> allUsersGrantFilter)The all users grant filter of the user policy grant principal.UserPolicyGrantPrincipal.BuilderallUsersGrantFilter(AllUsersGrantFilter allUsersGrantFilter)The all users grant filter of the user policy grant principal.UserPolicyGrantPrincipal.BuilderuserIdentifier(String userIdentifier)The user ID of the user policy grant principal.-
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 Detail
-
allUsersGrantFilter
UserPolicyGrantPrincipal.Builder allUsersGrantFilter(AllUsersGrantFilter allUsersGrantFilter)
The all users grant filter of the user policy grant principal.
- Parameters:
allUsersGrantFilter- The all users grant filter of the user policy grant principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allUsersGrantFilter
default UserPolicyGrantPrincipal.Builder allUsersGrantFilter(Consumer<AllUsersGrantFilter.Builder> allUsersGrantFilter)
The all users grant filter of the user policy grant principal.
This is a convenience method that creates an instance of theAllUsersGrantFilter.Builderavoiding the need to create one manually viaAllUsersGrantFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallUsersGrantFilter(AllUsersGrantFilter).- Parameters:
allUsersGrantFilter- a consumer that will call methods onAllUsersGrantFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
allUsersGrantFilter(AllUsersGrantFilter)
-
userIdentifier
UserPolicyGrantPrincipal.Builder userIdentifier(String userIdentifier)
The user ID of the user policy grant principal.
- Parameters:
userIdentifier- The user ID of the user policy grant principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-