Interface StopProductSubscriptionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StopProductSubscriptionRequest.Builder,
,StopProductSubscriptionRequest> LicenseManagerUserSubscriptionsRequest.Builder
,SdkBuilder<StopProductSubscriptionRequest.Builder,
,StopProductSubscriptionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StopProductSubscriptionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe domain name of the Active Directory that contains the user for whom to stop 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.productUserArn
(String productUserArn) The Amazon Resource Name (ARN) of the product user.The user name from the 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 the user for whom to stop the product subscription.
- Parameters:
domain
- The domain name of the Active Directory that contains the user for whom to stop 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 StopProductSubscriptionRequest.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.
-
productUserArn
The Amazon Resource Name (ARN) of the product user.
- Parameters:
productUserArn
- The Amazon Resource Name (ARN) of the product user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The user name from the identity provider for the user.
- Parameters:
username
- The user name from the identity provider for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StopProductSubscriptionRequest.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
StopProductSubscriptionRequest.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.
-