Interface CreateLicenseConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLicenseConfigurationRequest.Builder,,CreateLicenseConfigurationRequest> LicenseManagerRequest.Builder,SdkBuilder<CreateLicenseConfigurationRequest.Builder,,CreateLicenseConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateLicenseConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Description of the license configuration.disassociateWhenNotFound(Boolean disassociateWhenNotFound) When true, disassociates a resource when software is uninstalled.licenseCount(Long licenseCount) Number of licenses managed by the license configuration.licenseCountHardLimit(Boolean licenseCountHardLimit) Indicates whether hard or soft license enforcement is used.licenseCountingType(String licenseCountingType) Dimension used to track the license inventory.licenseCountingType(LicenseCountingType licenseCountingType) Dimension used to track the license inventory.licenseRules(String... licenseRules) License rules.licenseRules(Collection<String> licenseRules) License rules.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) Product information.productInformationList(Consumer<ProductInformation.Builder>... productInformationList) Product information.productInformationList(ProductInformation... productInformationList) Product information.tags(Collection<Tag> tags) Tags to add to the license configuration.tags(Consumer<Tag.Builder>... tags) Tags to add to the license configuration.Tags to add to the license configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
Name of the license configuration.
- Parameters:
name- Name of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Description of the license configuration.
- Parameters:
description- Description of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseCountingType
Dimension used to track the license inventory.
- Parameters:
licenseCountingType- Dimension used to track the license inventory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseCountingType
CreateLicenseConfigurationRequest.Builder licenseCountingType(LicenseCountingType licenseCountingType) Dimension used to track the license inventory.
- Parameters:
licenseCountingType- Dimension used to track the license inventory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseCount
Number of licenses managed by the license configuration.
- Parameters:
licenseCount- Number of licenses managed by the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseCountHardLimit
Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.
- Parameters:
licenseCountHardLimit- Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseRules
License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The available rules vary by dimension, as follows.
-
Coresdimension:allowedTenancy|licenseAffinityToHost|maximumCores|minimumCores -
Instancesdimension:allowedTenancy|maximumVcpus|minimumVcpus -
Socketsdimension:allowedTenancy|licenseAffinityToHost|maximumSockets|minimumSockets -
vCPUsdimension:allowedTenancy|honorVcpuOptimization|maximumVcpus|minimumVcpus
The unit for
licenseAffinityToHostis days and the range is 1 to 180. The possible values forallowedTenancyareEC2-Default,EC2-DedicatedHost, andEC2-DedicatedInstance. The possible values forhonorVcpuOptimizationareTrueandFalse.- Parameters:
licenseRules- License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The available rules vary by dimension, as follows.-
Coresdimension:allowedTenancy|licenseAffinityToHost|maximumCores|minimumCores -
Instancesdimension:allowedTenancy|maximumVcpus|minimumVcpus -
Socketsdimension:allowedTenancy|licenseAffinityToHost|maximumSockets|minimumSockets -
vCPUsdimension:allowedTenancy|honorVcpuOptimization|maximumVcpus|minimumVcpus
The unit for
licenseAffinityToHostis days and the range is 1 to 180. The possible values forallowedTenancyareEC2-Default,EC2-DedicatedHost, andEC2-DedicatedInstance. The possible values forhonorVcpuOptimizationareTrueandFalse.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
licenseRules
License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The available rules vary by dimension, as follows.
-
Coresdimension:allowedTenancy|licenseAffinityToHost|maximumCores|minimumCores -
Instancesdimension:allowedTenancy|maximumVcpus|minimumVcpus -
Socketsdimension:allowedTenancy|licenseAffinityToHost|maximumSockets|minimumSockets -
vCPUsdimension:allowedTenancy|honorVcpuOptimization|maximumVcpus|minimumVcpus
The unit for
licenseAffinityToHostis days and the range is 1 to 180. The possible values forallowedTenancyareEC2-Default,EC2-DedicatedHost, andEC2-DedicatedInstance. The possible values forhonorVcpuOptimizationareTrueandFalse.- Parameters:
licenseRules- License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The available rules vary by dimension, as follows.-
Coresdimension:allowedTenancy|licenseAffinityToHost|maximumCores|minimumCores -
Instancesdimension:allowedTenancy|maximumVcpus|minimumVcpus -
Socketsdimension:allowedTenancy|licenseAffinityToHost|maximumSockets|minimumSockets -
vCPUsdimension:allowedTenancy|honorVcpuOptimization|maximumVcpus|minimumVcpus
The unit for
licenseAffinityToHostis days and the range is 1 to 180. The possible values forallowedTenancyareEC2-Default,EC2-DedicatedHost, andEC2-DedicatedInstance. The possible values forhonorVcpuOptimizationareTrueandFalse.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
Tags to add to the license configuration.
- Parameters:
tags- Tags to add to the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to add to the license configuration.
- Parameters:
tags- Tags to add to the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to add to the license configuration.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disassociateWhenNotFound
CreateLicenseConfigurationRequest.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.
-
productInformationList
CreateLicenseConfigurationRequest.Builder productInformationList(Collection<ProductInformation> productInformationList) Product information.
- Parameters:
productInformationList- Product information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productInformationList
CreateLicenseConfigurationRequest.Builder productInformationList(ProductInformation... productInformationList) Product information.
- Parameters:
productInformationList- Product information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productInformationList
CreateLicenseConfigurationRequest.Builder productInformationList(Consumer<ProductInformation.Builder>... productInformationList) 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 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:
-
overrideConfiguration
CreateLicenseConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLicenseConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-