Interface UpdateLicenseConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateLicenseConfigurationRequest.Builder,
,UpdateLicenseConfigurationRequest> LicenseManagerRequest.Builder
,SdkBuilder<UpdateLicenseConfigurationRequest.Builder,
,UpdateLicenseConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateLicenseConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) New description of the license configuration.disassociateWhenNotFound
(Boolean disassociateWhenNotFound) When true, disassociates a resource when software is uninstalled.licenseConfigurationArn
(String licenseConfigurationArn) Amazon Resource Name (ARN) of the license configuration.licenseConfigurationStatus
(String licenseConfigurationStatus) New status of the license configuration.licenseConfigurationStatus
(LicenseConfigurationStatus licenseConfigurationStatus) New status of the license configuration.licenseCount
(Long licenseCount) New number of licenses managed by the license configuration.licenseCountHardLimit
(Boolean licenseCountHardLimit) New hard limit of the number of available licenses.licenseRules
(String... licenseRules) New license rule.licenseRules
(Collection<String> licenseRules) New license rule.New name of the license configuration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.productInformationList
(Collection<ProductInformation> productInformationList) New product information.productInformationList
(Consumer<ProductInformation.Builder>... productInformationList) New product information.productInformationList
(ProductInformation... productInformationList) New product information.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.licensemanager.model.LicenseManagerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
licenseConfigurationArn
Amazon Resource Name (ARN) of the license configuration.
- Parameters:
licenseConfigurationArn
- Amazon Resource Name (ARN) of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseConfigurationStatus
UpdateLicenseConfigurationRequest.Builder licenseConfigurationStatus(String licenseConfigurationStatus) New status of the license configuration.
- Parameters:
licenseConfigurationStatus
- New status of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseConfigurationStatus
UpdateLicenseConfigurationRequest.Builder licenseConfigurationStatus(LicenseConfigurationStatus licenseConfigurationStatus) New status of the license configuration.
- Parameters:
licenseConfigurationStatus
- New status of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseRules
New license rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.
- Parameters:
licenseRules
- New license rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseRules
New license rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.
- Parameters:
licenseRules
- New license rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseCount
New number of licenses managed by the license configuration.
- Parameters:
licenseCount
- New number of licenses managed by the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseCountHardLimit
New hard limit of the number of available licenses.
- Parameters:
licenseCountHardLimit
- New hard limit of the number of available licenses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
New name of the license configuration.
- Parameters:
name
- New name of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
New description of the license configuration.
- Parameters:
description
- New description of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productInformationList
UpdateLicenseConfigurationRequest.Builder productInformationList(Collection<ProductInformation> productInformationList) New product information.
- Parameters:
productInformationList
- New product information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productInformationList
UpdateLicenseConfigurationRequest.Builder productInformationList(ProductInformation... productInformationList) New product information.
- Parameters:
productInformationList
- New product information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productInformationList
UpdateLicenseConfigurationRequest.Builder productInformationList(Consumer<ProductInformation.Builder>... productInformationList) New product information.
This is a convenience method that creates an instance of theProductInformation.Builder
avoiding the need to create one manually viaProductInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproductInformationList(List<ProductInformation>)
.- Parameters:
productInformationList
- a consumer that will call methods onProductInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disassociateWhenNotFound
UpdateLicenseConfigurationRequest.Builder disassociateWhenNotFound(Boolean disassociateWhenNotFound) When true, disassociates a resource when software is uninstalled.
- Parameters:
disassociateWhenNotFound
- When true, disassociates a resource when software is uninstalled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateLicenseConfigurationRequest.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
UpdateLicenseConfigurationRequest.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.
-