Interface CreateLicenseConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLicenseConfigurationRequest.Builder,CreateLicenseConfigurationRequest>,LicenseManagerRequest.Builder,SdkBuilder<CreateLicenseConfigurationRequest.Builder,CreateLicenseConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateLicenseConfigurationRequest
public static interface CreateLicenseConfigurationRequest.Builder extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateLicenseConfigurationRequest.Builder,CreateLicenseConfigurationRequest>
-
-
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
-
name
CreateLicenseConfigurationRequest.Builder name(String 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
CreateLicenseConfigurationRequest.Builder description(String 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
CreateLicenseConfigurationRequest.Builder licenseCountingType(String 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,LicenseCountingType
-
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:
LicenseCountingType,LicenseCountingType
-
licenseCount
CreateLicenseConfigurationRequest.Builder licenseCount(Long 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
CreateLicenseConfigurationRequest.Builder licenseCountHardLimit(Boolean 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
CreateLicenseConfigurationRequest.Builder licenseRules(Collection<String> 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|maximumCores|minimumCores|maximumSockets|minimumSockets|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|maximumCores|minimumCores|maximumSockets|minimumSockets|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
CreateLicenseConfigurationRequest.Builder licenseRules(String... 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|maximumCores|minimumCores|maximumSockets|minimumSockets|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|maximumCores|minimumCores|maximumSockets|minimumSockets|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
CreateLicenseConfigurationRequest.Builder tags(Collection<Tag> 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
CreateLicenseConfigurationRequest.Builder tags(Tag... 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
CreateLicenseConfigurationRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
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 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)
-
overrideConfiguration
CreateLicenseConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLicenseConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-