public static final class CfnLicense.EntitlementProperty.Builder
extends java.lang.Object
CfnLicense.EntitlementProperty
Constructor and Description |
---|
Builder() |
public CfnLicense.EntitlementProperty.Builder name(java.lang.String name)
CfnLicense.EntitlementProperty.getName()
name
- Entitlement name. This parameter is required.this
public CfnLicense.EntitlementProperty.Builder unit(java.lang.String unit)
CfnLicense.EntitlementProperty.getUnit()
unit
- Entitlement unit. This parameter is required.this
public CfnLicense.EntitlementProperty.Builder allowCheckIn(java.lang.Boolean allowCheckIn)
CfnLicense.EntitlementProperty.getAllowCheckIn()
allowCheckIn
- Indicates whether check-ins are allowed.this
public CfnLicense.EntitlementProperty.Builder allowCheckIn(IResolvable allowCheckIn)
CfnLicense.EntitlementProperty.getAllowCheckIn()
allowCheckIn
- Indicates whether check-ins are allowed.this
public CfnLicense.EntitlementProperty.Builder maxCount(java.lang.Number maxCount)
CfnLicense.EntitlementProperty.getMaxCount()
maxCount
- Maximum entitlement count.
Use if the unit is not None.this
public CfnLicense.EntitlementProperty.Builder overage(java.lang.Boolean overage)
CfnLicense.EntitlementProperty.getOverage()
overage
- Indicates whether overages are allowed.this
public CfnLicense.EntitlementProperty.Builder overage(IResolvable overage)
CfnLicense.EntitlementProperty.getOverage()
overage
- Indicates whether overages are allowed.this
public CfnLicense.EntitlementProperty.Builder value(java.lang.String value)
CfnLicense.EntitlementProperty.getValue()
value
- Entitlement resource.
Use only if the unit is None.this
public CfnLicense.EntitlementProperty build()
CfnLicense.EntitlementProperty
java.lang.NullPointerException
- if any required attribute was not provided