Interface UpdateLicenseConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLicenseConfigurationRequest.Builder,UpdateLicenseConfigurationRequest>,LicenseManagerRequest.Builder,SdkBuilder<UpdateLicenseConfigurationRequest.Builder,UpdateLicenseConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateLicenseConfigurationRequest
public static interface UpdateLicenseConfigurationRequest.Builder extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<UpdateLicenseConfigurationRequest.Builder,UpdateLicenseConfigurationRequest>
-
-
Method Summary
-
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 Detail
-
licenseConfigurationArn
UpdateLicenseConfigurationRequest.Builder licenseConfigurationArn(String 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,LicenseConfigurationStatus
-
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:
LicenseConfigurationStatus,LicenseConfigurationStatus
-
licenseRules
UpdateLicenseConfigurationRequest.Builder licenseRules(Collection<String> 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
UpdateLicenseConfigurationRequest.Builder licenseRules(String... 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
UpdateLicenseConfigurationRequest.Builder licenseCount(Long 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
UpdateLicenseConfigurationRequest.Builder licenseCountHardLimit(Boolean 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
UpdateLicenseConfigurationRequest.Builder name(String 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
UpdateLicenseConfigurationRequest.Builder description(String 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.Builderavoiding the need to create one manually viaProductInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#productInformationList(List.) - 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:
#productInformationList(java.util.Collection)
-
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateLicenseConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-