public static interface CreateLicenseConfigurationRequest.Builder extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateLicenseConfigurationRequest.Builder,CreateLicenseConfigurationRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateLicenseConfigurationRequest.Builder name(String name)
Name of the license configuration.
name - Name of the license configuration.CreateLicenseConfigurationRequest.Builder description(String description)
Description of the license configuration.
description - Description of the license configuration.CreateLicenseConfigurationRequest.Builder licenseCountingType(String licenseCountingType)
Dimension used to track the license inventory.
licenseCountingType - Dimension used to track the license inventory.LicenseCountingType,
LicenseCountingTypeCreateLicenseConfigurationRequest.Builder licenseCountingType(LicenseCountingType licenseCountingType)
Dimension used to track the license inventory.
licenseCountingType - Dimension used to track the license inventory.LicenseCountingType,
LicenseCountingTypeCreateLicenseConfigurationRequest.Builder licenseCount(Long licenseCount)
Number of licenses managed by the license configuration.
licenseCount - Number of licenses managed by the license configuration.CreateLicenseConfigurationRequest.Builder licenseCountHardLimit(Boolean licenseCountHardLimit)
Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.
licenseCountHardLimit - Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch
of new instances.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.
Cores dimension: allowedTenancy | licenseAffinityToHost |
maximumCores | minimumCores
Instances dimension: allowedTenancy | maximumCores |
minimumCores | maximumSockets | minimumSockets |
maximumVcpus | minimumVcpus
Sockets dimension: allowedTenancy | licenseAffinityToHost |
maximumSockets | minimumSockets
vCPUs dimension: allowedTenancy | honorVcpuOptimization |
maximumVcpus | minimumVcpus
The unit for licenseAffinityToHost is days and the range is 1 to 180. The possible values for
allowedTenancy are EC2-Default, EC2-DedicatedHost, and
EC2-DedicatedInstance. The possible values for honorVcpuOptimization are
True and False.
licenseRules - License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The
available rules vary by dimension, as follows.
Cores dimension: allowedTenancy | licenseAffinityToHost |
maximumCores | minimumCores
Instances dimension: allowedTenancy | maximumCores |
minimumCores | maximumSockets | minimumSockets |
maximumVcpus | minimumVcpus
Sockets dimension: allowedTenancy | licenseAffinityToHost |
maximumSockets | minimumSockets
vCPUs dimension: allowedTenancy | honorVcpuOptimization |
maximumVcpus | minimumVcpus
The unit for licenseAffinityToHost is days and the range is 1 to 180. The possible values
for allowedTenancy are EC2-Default, EC2-DedicatedHost, and
EC2-DedicatedInstance. The possible values for honorVcpuOptimization are
True and False.
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.
Cores dimension: allowedTenancy | licenseAffinityToHost |
maximumCores | minimumCores
Instances dimension: allowedTenancy | maximumCores |
minimumCores | maximumSockets | minimumSockets |
maximumVcpus | minimumVcpus
Sockets dimension: allowedTenancy | licenseAffinityToHost |
maximumSockets | minimumSockets
vCPUs dimension: allowedTenancy | honorVcpuOptimization |
maximumVcpus | minimumVcpus
The unit for licenseAffinityToHost is days and the range is 1 to 180. The possible values for
allowedTenancy are EC2-Default, EC2-DedicatedHost, and
EC2-DedicatedInstance. The possible values for honorVcpuOptimization are
True and False.
licenseRules - License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The
available rules vary by dimension, as follows.
Cores dimension: allowedTenancy | licenseAffinityToHost |
maximumCores | minimumCores
Instances dimension: allowedTenancy | maximumCores |
minimumCores | maximumSockets | minimumSockets |
maximumVcpus | minimumVcpus
Sockets dimension: allowedTenancy | licenseAffinityToHost |
maximumSockets | minimumSockets
vCPUs dimension: allowedTenancy | honorVcpuOptimization |
maximumVcpus | minimumVcpus
The unit for licenseAffinityToHost is days and the range is 1 to 180. The possible values
for allowedTenancy are EC2-Default, EC2-DedicatedHost, and
EC2-DedicatedInstance. The possible values for honorVcpuOptimization are
True and False.
CreateLicenseConfigurationRequest.Builder tags(Collection<Tag> tags)
Tags to add to the license configuration.
tags - Tags to add to the license configuration.CreateLicenseConfigurationRequest.Builder tags(Tag... tags)
Tags to add to the license configuration.
tags - Tags to add to the license configuration.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.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateLicenseConfigurationRequest.Builder disassociateWhenNotFound(Boolean disassociateWhenNotFound)
When true, disassociates a resource when software is uninstalled.
disassociateWhenNotFound - When true, disassociates a resource when software is uninstalled.CreateLicenseConfigurationRequest.Builder productInformationList(Collection<ProductInformation> productInformationList)
Product information.
productInformationList - Product information.CreateLicenseConfigurationRequest.Builder productInformationList(ProductInformation... productInformationList)
Product information.
productInformationList - Product information.CreateLicenseConfigurationRequest.Builder productInformationList(Consumer<ProductInformation.Builder>... productInformationList)
Product information.
This is a convenience method that creates an instance of theProductInformation.Builder avoiding the need to
create one manually via
ProductInformation.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #productInformationList(List.
productInformationList - a consumer that will call methods on
ProductInformation.Builder#productInformationList(java.util.Collection) CreateLicenseConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateLicenseConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.