Class CfnLicense.Builder

java.lang.Object
software.amazon.awscdk.services.licensemanager.CfnLicense.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLicense>
Enclosing class:
CfnLicense

@Stability(Stable) public static final class CfnLicense.Builder extends Object implements software.amazon.jsii.Builder<CfnLicense>
A fluent builder for CfnLicense.
  • Method Details

    • create

      @Stability(Stable) public static CfnLicense.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnLicense.Builder.
    • consumptionConfiguration

      @Stability(Stable) public CfnLicense.Builder consumptionConfiguration(CfnLicense.ConsumptionConfigurationProperty consumptionConfiguration)
      Configuration for consumption of the license.

      Parameters:
      consumptionConfiguration - Configuration for consumption of the license. This parameter is required.
      Returns:
      this
    • consumptionConfiguration

      @Stability(Stable) public CfnLicense.Builder consumptionConfiguration(IResolvable consumptionConfiguration)
      Configuration for consumption of the license.

      Parameters:
      consumptionConfiguration - Configuration for consumption of the license. This parameter is required.
      Returns:
      this
    • entitlements

      @Stability(Stable) public CfnLicense.Builder entitlements(IResolvable entitlements)
      License entitlements.

      Parameters:
      entitlements - License entitlements. This parameter is required.
      Returns:
      this
    • entitlements

      @Stability(Stable) public CfnLicense.Builder entitlements(List<? extends Object> entitlements)
      License entitlements.

      Parameters:
      entitlements - License entitlements. This parameter is required.
      Returns:
      this
    • homeRegion

      @Stability(Stable) public CfnLicense.Builder homeRegion(String homeRegion)
      Home Region of the license.

      Parameters:
      homeRegion - Home Region of the license. This parameter is required.
      Returns:
      this
    • issuer

      @Stability(Stable) public CfnLicense.Builder issuer(IResolvable issuer)
      License issuer.

      Parameters:
      issuer - License issuer. This parameter is required.
      Returns:
      this
    • issuer

      @Stability(Stable) public CfnLicense.Builder issuer(CfnLicense.IssuerDataProperty issuer)
      License issuer.

      Parameters:
      issuer - License issuer. This parameter is required.
      Returns:
      this
    • licenseName

      @Stability(Stable) public CfnLicense.Builder licenseName(String licenseName)
      License name.

      Parameters:
      licenseName - License name. This parameter is required.
      Returns:
      this
    • productName

      @Stability(Stable) public CfnLicense.Builder productName(String productName)
      Product name.

      Parameters:
      productName - Product name. This parameter is required.
      Returns:
      this
    • validity

      @Stability(Stable) public CfnLicense.Builder validity(IResolvable validity)
      Date and time range during which the license is valid, in ISO8601-UTC format.

      Parameters:
      validity - Date and time range during which the license is valid, in ISO8601-UTC format. This parameter is required.
      Returns:
      this
    • validity

      @Stability(Stable) public CfnLicense.Builder validity(CfnLicense.ValidityDateFormatProperty validity)
      Date and time range during which the license is valid, in ISO8601-UTC format.

      Parameters:
      validity - Date and time range during which the license is valid, in ISO8601-UTC format. This parameter is required.
      Returns:
      this
    • beneficiary

      @Stability(Stable) public CfnLicense.Builder beneficiary(String beneficiary)
      License beneficiary.

      Parameters:
      beneficiary - License beneficiary. This parameter is required.
      Returns:
      this
    • licenseMetadata

      @Stability(Stable) public CfnLicense.Builder licenseMetadata(IResolvable licenseMetadata)
      License metadata.

      Parameters:
      licenseMetadata - License metadata. This parameter is required.
      Returns:
      this
    • licenseMetadata

      @Stability(Stable) public CfnLicense.Builder licenseMetadata(List<? extends Object> licenseMetadata)
      License metadata.

      Parameters:
      licenseMetadata - License metadata. This parameter is required.
      Returns:
      this
    • productSku

      @Stability(Stable) public CfnLicense.Builder productSku(String productSku)
      Product SKU.

      Parameters:
      productSku - Product SKU. This parameter is required.
      Returns:
      this
    • status

      @Stability(Stable) public CfnLicense.Builder status(String status)
      License status.

      Parameters:
      status - License status. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnLicense build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnLicense>
      Returns:
      a newly built instance of CfnLicense.