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
Modifier and TypeMethodDescriptiondefault UserPolicyGrantPrincipal.BuilderallUsersGrantFilter(Consumer<AllUsersGrantFilter.Builder> allUsersGrantFilter) The all users grant filter of the user policy grant principal.allUsersGrantFilter(AllUsersGrantFilter allUsersGrantFilter) The all users grant filter of the user policy grant principal.userIdentifier(String userIdentifier) The user ID of the user policy grant principal.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
-
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:
-
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.
-