Interface AssociateUserRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateUserRequest.Builder,
,AssociateUserRequest> LicenseManagerUserSubscriptionsRequest.Builder
,SdkBuilder<AssociateUserRequest.Builder,
,AssociateUserRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateUserRequest
@Mutable
@NotThreadSafe
public static interface AssociateUserRequest.Builder
extends LicenseManagerUserSubscriptionsRequest.Builder, SdkPojo, CopyableBuilder<AssociateUserRequest.Builder,AssociateUserRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe domain name of the Active Directory that contains information for the user to associate.default AssociateUserRequest.Builder
identityProvider
(Consumer<IdentityProvider.Builder> identityProvider) The identity provider for the user.identityProvider
(IdentityProvider identityProvider) The identity provider for the user.instanceId
(String instanceId) The ID of the EC2 instance that provides the user-based subscription.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags that apply for the user association.The user name from the identity provider.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 associate.
- Parameters:
domain
- The domain name of the Active Directory that contains information for the user to associate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProvider
The identity provider for the user.
- Parameters:
identityProvider
- The identity provider for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProvider
default AssociateUserRequest.Builder identityProvider(Consumer<IdentityProvider.Builder> identityProvider) The identity provider for the user.
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 that provides the user-based subscription.
- Parameters:
instanceId
- The ID of the EC2 instance that provides the user-based subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags that apply for the user association.
- Parameters:
tags
- The tags that apply for the user association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The user name from the identity provider.
- Parameters:
username
- The user name from the identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateUserRequest.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
AssociateUserRequest.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.
-