Interface CreateGroupMembershipRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateGroupMembershipRequest.Builder,CreateGroupMembershipRequest>,IdentitystoreRequest.Builder,SdkBuilder<CreateGroupMembershipRequest.Builder,CreateGroupMembershipRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateGroupMembershipRequest
public static interface CreateGroupMembershipRequest.Builder extends IdentitystoreRequest.Builder, SdkPojo, CopyableBuilder<CreateGroupMembershipRequest.Builder,CreateGroupMembershipRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateGroupMembershipRequest.BuildergroupId(String groupId)The identifier for a group in the identity store.CreateGroupMembershipRequest.BuilderidentityStoreId(String identityStoreId)The globally unique identifier for the identity store.default CreateGroupMembershipRequest.BuildermemberId(Consumer<MemberId.Builder> memberId)An object that contains the identifier of a group member.CreateGroupMembershipRequest.BuildermemberId(MemberId memberId)An object that contains the identifier of a group member.CreateGroupMembershipRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateGroupMembershipRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.identitystore.model.IdentitystoreRequest.Builder
build
-
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
-
identityStoreId
CreateGroupMembershipRequest.Builder identityStoreId(String identityStoreId)
The globally unique identifier for the identity store.
- Parameters:
identityStoreId- The globally unique identifier for the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
CreateGroupMembershipRequest.Builder groupId(String groupId)
The identifier for a group in the identity store.
- Parameters:
groupId- The identifier for a group in the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberId
CreateGroupMembershipRequest.Builder memberId(MemberId memberId)
An object that contains the identifier of a group member. Setting the
UserIDfield to the specific identifier for a user indicates that the user is a member of the group.- Parameters:
memberId- An object that contains the identifier of a group member. Setting theUserIDfield to the specific identifier for a user indicates that the user is a member of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberId
default CreateGroupMembershipRequest.Builder memberId(Consumer<MemberId.Builder> memberId)
An object that contains the identifier of a group member. Setting the
This is a convenience method that creates an instance of theUserIDfield to the specific identifier for a user indicates that the user is a member of the group.MemberId.Builderavoiding the need to create one manually viaMemberId.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemberId(MemberId).- Parameters:
memberId- a consumer that will call methods onMemberId.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
memberId(MemberId)
-
overrideConfiguration
CreateGroupMembershipRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateGroupMembershipRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-