Interface CfnLicense.EntitlementProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLicense.EntitlementProperty.Jsii$Proxy
- Enclosing class:
CfnLicense
@Stability(Stable)
public static interface CfnLicense.EntitlementProperty
extends software.amazon.jsii.JsiiSerializable
Describes a resource entitled for use with a license.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.licensemanager.*;
EntitlementProperty entitlementProperty = EntitlementProperty.builder()
.name("name")
.unit("unit")
// the properties below are optional
.allowCheckIn(false)
.maxCount(123)
.overage(false)
.value("value")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLicense.EntitlementPropertystatic final classAn implementation forCfnLicense.EntitlementProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectIndicates whether check-ins are allowed.default NumberMaximum entitlement count.getName()Entitlement name.default ObjectIndicates whether overages are allowed.getUnit()Entitlement unit.default StringgetValue()Entitlement resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
Entitlement name.- See Also:
-
getUnit
Entitlement unit.- See Also:
-
getAllowCheckIn
Indicates whether check-ins are allowed.Returns union: either
BooleanorIResolvable- See Also:
-
getMaxCount
Maximum entitlement count.Use if the unit is not None.
- See Also:
-
getOverage
Indicates whether overages are allowed.Returns union: either
BooleanorIResolvable- See Also:
-
getValue
Entitlement resource.Use only if the unit is None.
- See Also:
-
builder
-