Class CfnLicenseMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.licensemanager.mixins.CfnLicenseMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLicenseMixinProps>
- Enclosing interface:
CfnLicenseMixinProps
@Stability(Stable)
public static final class CfnLicenseMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLicenseMixinProps>
A builder for
CfnLicenseMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeneficiary(String beneficiary) Sets the value ofCfnLicenseMixinProps.getBeneficiary()build()Builds the configured instance.consumptionConfiguration(IResolvable consumptionConfiguration) Sets the value ofCfnLicenseMixinProps.getConsumptionConfiguration()consumptionConfiguration(CfnLicensePropsMixin.ConsumptionConfigurationProperty consumptionConfiguration) Sets the value ofCfnLicenseMixinProps.getConsumptionConfiguration()entitlements(List<? extends Object> entitlements) Sets the value ofCfnLicenseMixinProps.getEntitlements()entitlements(IResolvable entitlements) Sets the value ofCfnLicenseMixinProps.getEntitlements()homeRegion(String homeRegion) Sets the value ofCfnLicenseMixinProps.getHomeRegion()issuer(IResolvable issuer) Sets the value ofCfnLicenseMixinProps.getIssuer()Sets the value ofCfnLicenseMixinProps.getIssuer()licenseMetadata(List<? extends Object> licenseMetadata) Sets the value ofCfnLicenseMixinProps.getLicenseMetadata()licenseMetadata(IResolvable licenseMetadata) Sets the value ofCfnLicenseMixinProps.getLicenseMetadata()licenseName(String licenseName) Sets the value ofCfnLicenseMixinProps.getLicenseName()productName(String productName) Sets the value ofCfnLicenseMixinProps.getProductName()productSku(String productSku) Sets the value ofCfnLicenseMixinProps.getProductSku()Sets the value ofCfnLicenseMixinProps.getStatus()validity(IResolvable validity) Sets the value ofCfnLicenseMixinProps.getValidity()Sets the value ofCfnLicenseMixinProps.getValidity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
beneficiary
Sets the value ofCfnLicenseMixinProps.getBeneficiary()- Parameters:
beneficiary- License beneficiary.- Returns:
this
-
consumptionConfiguration
@Stability(Stable) public CfnLicenseMixinProps.Builder consumptionConfiguration(IResolvable consumptionConfiguration) Sets the value ofCfnLicenseMixinProps.getConsumptionConfiguration()- Parameters:
consumptionConfiguration- Configuration for consumption of the license.- Returns:
this
-
consumptionConfiguration
@Stability(Stable) public CfnLicenseMixinProps.Builder consumptionConfiguration(CfnLicensePropsMixin.ConsumptionConfigurationProperty consumptionConfiguration) Sets the value ofCfnLicenseMixinProps.getConsumptionConfiguration()- Parameters:
consumptionConfiguration- Configuration for consumption of the license.- Returns:
this
-
entitlements
Sets the value ofCfnLicenseMixinProps.getEntitlements()- Parameters:
entitlements- License entitlements.- Returns:
this
-
entitlements
@Stability(Stable) public CfnLicenseMixinProps.Builder entitlements(List<? extends Object> entitlements) Sets the value ofCfnLicenseMixinProps.getEntitlements()- Parameters:
entitlements- License entitlements.- Returns:
this
-
homeRegion
Sets the value ofCfnLicenseMixinProps.getHomeRegion()- Parameters:
homeRegion- Home Region of the license.- Returns:
this
-
issuer
Sets the value ofCfnLicenseMixinProps.getIssuer()- Parameters:
issuer- License issuer.- Returns:
this
-
issuer
@Stability(Stable) public CfnLicenseMixinProps.Builder issuer(CfnLicensePropsMixin.IssuerDataProperty issuer) Sets the value ofCfnLicenseMixinProps.getIssuer()- Parameters:
issuer- License issuer.- Returns:
this
-
licenseMetadata
Sets the value ofCfnLicenseMixinProps.getLicenseMetadata()- Parameters:
licenseMetadata- License metadata.- Returns:
this
-
licenseMetadata
@Stability(Stable) public CfnLicenseMixinProps.Builder licenseMetadata(List<? extends Object> licenseMetadata) Sets the value ofCfnLicenseMixinProps.getLicenseMetadata()- Parameters:
licenseMetadata- License metadata.- Returns:
this
-
licenseName
Sets the value ofCfnLicenseMixinProps.getLicenseName()- Parameters:
licenseName- License name.- Returns:
this
-
productName
Sets the value ofCfnLicenseMixinProps.getProductName()- Parameters:
productName- Product name.- Returns:
this
-
productSku
Sets the value ofCfnLicenseMixinProps.getProductSku()- Parameters:
productSku- Product SKU.- Returns:
this
-
status
Sets the value ofCfnLicenseMixinProps.getStatus()- Parameters:
status- License status.- Returns:
this
-
validity
Sets the value ofCfnLicenseMixinProps.getValidity()- Parameters:
validity- Date and time range during which the license is valid, in ISO8601-UTC format.- Returns:
this
-
validity
@Stability(Stable) public CfnLicenseMixinProps.Builder validity(CfnLicensePropsMixin.ValidityDateFormatProperty validity) Sets the value ofCfnLicenseMixinProps.getValidity()- Parameters:
validity- Date and time range during which the license is valid, in ISO8601-UTC format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLicenseMixinProps>- Returns:
- a new instance of
CfnLicenseMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-