Interface UserPolicyGrantPrincipal.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UserPolicyGrantPrincipal.Builder,
,UserPolicyGrantPrincipal> SdkBuilder<UserPolicyGrantPrincipal.Builder,
,UserPolicyGrantPrincipal> SdkPojo
- Enclosing class:
UserPolicyGrantPrincipal
@Mutable
@NotThreadSafe
public static interface UserPolicyGrantPrincipal.Builder
extends SdkPojo, CopyableBuilder<UserPolicyGrantPrincipal.Builder,UserPolicyGrantPrincipal>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UserPolicyGrantPrincipal.Builder
allUsersGrantFilter
(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
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 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.Builder
avoiding the need to create one manually viaAllUsersGrantFilter.builder()
.When the
Consumer
completes,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.
-