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 SummaryModifier and TypeMethodDescriptionThe domain name of the Active Directory that contains information for the user to associate.default AssociateUserRequest.BuilderidentityProvider(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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.licensemanagerusersubscriptions.model.LicenseManagerUserSubscriptionsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
usernameThe 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.
 
- 
instanceIdThe 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.
 
- 
identityProviderThe 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.
 
- 
identityProviderdefault AssociateUserRequest.Builder identityProvider(Consumer<IdentityProvider.Builder> identityProvider) The identity provider for the user. This is a convenience method that creates an instance of theIdentityProvider.Builderavoiding the need to create one manually viaIdentityProvider.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityProvider(IdentityProvider).- Parameters:
- identityProvider- a consumer that will call methods on- IdentityProvider.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
domainThe 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.
 
- 
tagsThe 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.
 
- 
overrideConfigurationAssociateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationAssociateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-