Interface DisassociateUserRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DisassociateUserRequest.Builder,
,DisassociateUserRequest> LicenseManagerUserSubscriptionsRequest.Builder
,SdkBuilder<DisassociateUserRequest.Builder,
,DisassociateUserRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DisassociateUserRequest
@Mutable
@NotThreadSafe
public static interface DisassociateUserRequest.Builder
extends LicenseManagerUserSubscriptionsRequest.Builder, SdkPojo, CopyableBuilder<DisassociateUserRequest.Builder,DisassociateUserRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe domain name of the Active Directory that contains information for the user to disassociate.default DisassociateUserRequest.Builder
identityProvider
(Consumer<IdentityProvider.Builder> identityProvider) An object that specifies details for the Active Directory identity provider.identityProvider
(IdentityProvider identityProvider) An object that specifies details for the Active Directory identity provider.instanceId
(String instanceId) The ID of the EC2 instance which provides user-based subscriptions.instanceUserArn
(String instanceUserArn) The Amazon Resource Name (ARN) of the user to disassociate from the EC2 instance.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The user name from the Active Directory identity provider for the user.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.licensemanagerusersubscriptions.model.LicenseManagerUserSubscriptionsRequest.Builder
build
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
-
domain
The domain name of the Active Directory that contains information for the user to disassociate.
- Parameters:
domain
- The domain name of the Active Directory that contains information for the user to disassociate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProvider
An object that specifies details for the Active Directory identity provider.
- Parameters:
identityProvider
- An object that specifies details for the Active Directory identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProvider
default DisassociateUserRequest.Builder identityProvider(Consumer<IdentityProvider.Builder> identityProvider) An object that specifies details for the Active Directory identity provider.
This is a convenience method that creates an instance of theIdentityProvider.Builder
avoiding the need to create one manually viaIdentityProvider.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentityProvider(IdentityProvider)
.- Parameters:
identityProvider
- a consumer that will call methods onIdentityProvider.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceId
The ID of the EC2 instance which provides user-based subscriptions.
- Parameters:
instanceId
- The ID of the EC2 instance which provides user-based subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceUserArn
The Amazon Resource Name (ARN) of the user to disassociate from the EC2 instance.
- Parameters:
instanceUserArn
- The Amazon Resource Name (ARN) of the user to disassociate from the EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The user name from the Active Directory identity provider for the user.
- Parameters:
username
- The user name from the Active Directory identity provider for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DisassociateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DisassociateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-