Class CfnLicensePropsMixin.EntitlementProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.licensemanager.CfnLicensePropsMixin.EntitlementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLicensePropsMixin.EntitlementProperty>
- Enclosing interface:
CfnLicensePropsMixin.EntitlementProperty
@Stability(Stable)
public static final class CfnLicensePropsMixin.EntitlementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLicensePropsMixin.EntitlementProperty>
A builder for
CfnLicensePropsMixin.EntitlementProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowCheckIn(Boolean allowCheckIn) Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getAllowCheckIn()allowCheckIn(IResolvable allowCheckIn) Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getAllowCheckIn()build()Builds the configured instance.Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getMaxCount()Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getName()Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getOverage()overage(IResolvable overage) Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getOverage()Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getUnit()Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowCheckIn
@Stability(Stable) public CfnLicensePropsMixin.EntitlementProperty.Builder allowCheckIn(Boolean allowCheckIn) Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getAllowCheckIn()- Parameters:
allowCheckIn- Indicates whether check-ins are allowed.- Returns:
this
-
allowCheckIn
@Stability(Stable) public CfnLicensePropsMixin.EntitlementProperty.Builder allowCheckIn(IResolvable allowCheckIn) Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getAllowCheckIn()- Parameters:
allowCheckIn- Indicates whether check-ins are allowed.- Returns:
this
-
maxCount
@Stability(Stable) public CfnLicensePropsMixin.EntitlementProperty.Builder maxCount(Number maxCount) Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getMaxCount()- Parameters:
maxCount- Maximum entitlement count. Use if the unit is not None.- Returns:
this
-
name
Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getName()- Parameters:
name- Entitlement name.- Returns:
this
-
overage
Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getOverage()- Parameters:
overage- Indicates whether overages are allowed.- Returns:
this
-
overage
@Stability(Stable) public CfnLicensePropsMixin.EntitlementProperty.Builder overage(IResolvable overage) Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getOverage()- Parameters:
overage- Indicates whether overages are allowed.- Returns:
this
-
unit
Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getUnit()- Parameters:
unit- Entitlement unit.- Returns:
this
-
value
Sets the value ofCfnLicensePropsMixin.EntitlementProperty.getValue()- Parameters:
value- Entitlement resource. Use only if the unit is None.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLicensePropsMixin.EntitlementProperty>- Returns:
- a new instance of
CfnLicensePropsMixin.EntitlementProperty - Throws:
NullPointerException- if any required attribute was not provided
-