Interface StartProductSubscriptionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartProductSubscriptionRequest.Builder,
,StartProductSubscriptionRequest> LicenseManagerUserSubscriptionsRequest.Builder
,SdkBuilder<StartProductSubscriptionRequest.Builder,
,StartProductSubscriptionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartProductSubscriptionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe domain name of the Active Directory that contains the user for whom to start the product subscription.identityProvider
(Consumer<IdentityProvider.Builder> identityProvider) An object that specifies details for the identity provider.identityProvider
(IdentityProvider identityProvider) An object that specifies details for the identity provider.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the user-based subscription product.The tags that apply to the product subscription.The user name from the identity provider of 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 the user for whom to start the product subscription.
- Parameters:
domain
- The domain name of the Active Directory that contains the user for whom to start the product subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProvider
An object that specifies details for the identity provider.
- Parameters:
identityProvider
- An object that specifies details for the identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProvider
default StartProductSubscriptionRequest.Builder identityProvider(Consumer<IdentityProvider.Builder> identityProvider) An object that specifies details for the 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:
-
product
The name of the user-based subscription product.
Valid values:
VISUAL_STUDIO_ENTERPRISE
|VISUAL_STUDIO_PROFESSIONAL
|OFFICE_PROFESSIONAL_PLUS
|REMOTE_DESKTOP_SERVICES
- Parameters:
product
- The name of the user-based subscription product.Valid values:
VISUAL_STUDIO_ENTERPRISE
|VISUAL_STUDIO_PROFESSIONAL
|OFFICE_PROFESSIONAL_PLUS
|REMOTE_DESKTOP_SERVICES
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags that apply to the product subscription.
- Parameters:
tags
- The tags that apply to the product subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The user name from the identity provider of the user.
- Parameters:
username
- The user name from the identity provider of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartProductSubscriptionRequest.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
StartProductSubscriptionRequest.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.
-