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 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

      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

      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

      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

      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.

      Parameters:
      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.

      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.

      • 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.

      Parameters:
      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.

      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 the Tag.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<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.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 the ProductInformation.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<ProductInformation>).

      Parameters:
      productInformationList - a consumer that will call methods on ProductInformation.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.