Interface CreateLicenseConfigurationRequest.Builder

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

        • 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

        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.
      • 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​(ProductInformation... productInformationList)

        Product information.

        Parameters:
        productInformationList - Product information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.