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 Summary
Modifier and TypeMethodDescriptionbeneficiary(String beneficiary) License beneficiary.build()consumptionConfiguration(IResolvable consumptionConfiguration) Configuration for consumption of the license.consumptionConfiguration(CfnLicense.ConsumptionConfigurationProperty consumptionConfiguration) Configuration for consumption of the license.static CfnLicense.Builderentitlements(List<? extends Object> entitlements) License entitlements.entitlements(IResolvable entitlements) License entitlements.homeRegion(String homeRegion) Home Region of the license.issuer(IResolvable issuer) License issuer.issuer(CfnLicense.IssuerDataProperty issuer) License issuer.licenseMetadata(List<? extends Object> licenseMetadata) License metadata.licenseMetadata(IResolvable licenseMetadata) License metadata.licenseName(String licenseName) License name.productName(String productName) Product name.productSku(String productSku) Product SKU.License status.validity(IResolvable validity) Date and time range during which the license is valid, in ISO8601-UTC format.Date and time range during which the license is valid, in ISO8601-UTC format.
-
Method Details
-
create
@Stability(Stable) public static CfnLicense.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnLicense.Builder.
-
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- See Also:
-
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- See Also:
-
entitlements
License entitlements.- Parameters:
entitlements- License entitlements. This parameter is required.- Returns:
this- See Also:
-
entitlements
License entitlements.- Parameters:
entitlements- License entitlements. This parameter is required.- Returns:
this- See Also:
-
homeRegion
Home Region of the license.- Parameters:
homeRegion- Home Region of the license. This parameter is required.- Returns:
this- See Also:
-
issuer
License issuer.- Parameters:
issuer- License issuer. This parameter is required.- Returns:
this- See Also:
-
issuer
License issuer.- Parameters:
issuer- License issuer. This parameter is required.- Returns:
this- See Also:
-
licenseName
License name.- Parameters:
licenseName- License name. This parameter is required.- Returns:
this- See Also:
-
productName
Product name.- Parameters:
productName- Product name. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
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- See Also:
-
beneficiary
License beneficiary.- Parameters:
beneficiary- License beneficiary. This parameter is required.- Returns:
this- See Also:
-
licenseMetadata
License metadata.- Parameters:
licenseMetadata- License metadata. This parameter is required.- Returns:
this- See Also:
-
licenseMetadata
@Stability(Stable) public CfnLicense.Builder licenseMetadata(List<? extends Object> licenseMetadata) License metadata.- Parameters:
licenseMetadata- License metadata. This parameter is required.- Returns:
this- See Also:
-
productSku
Product SKU.- Parameters:
productSku- Product SKU. This parameter is required.- Returns:
this- See Also:
-
status
License status.- Parameters:
status- License status. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLicense>- Returns:
- a newly built instance of
CfnLicense.
-