@Stability(value=Stable)
public static interface CfnLicense.EntitlementProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLicense.EntitlementProperty.Builder
A builder for
CfnLicense.EntitlementProperty |
static class |
CfnLicense.EntitlementProperty.Jsii$Proxy
An implementation for
CfnLicense.EntitlementProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLicense.EntitlementProperty.Builder |
builder() |
default Object |
getAllowCheckIn()
Indicates whether check-ins are allowed.
|
default Number |
getMaxCount()
Maximum entitlement count.
|
String |
getName()
Entitlement name.
|
default Object |
getOverage()
Indicates whether overages are allowed.
|
String |
getUnit()
Entitlement unit.
|
default String |
getValue()
Entitlement resource.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getUnit()
@Stability(value=Stable) @Nullable default Object getAllowCheckIn()
@Stability(value=Stable) @Nullable default Number getMaxCount()
Use if the unit is not None.
@Stability(value=Stable) @Nullable default Object getOverage()
@Stability(value=Stable) @Nullable default String getValue()
Use only if the unit is None.
@Stability(value=Stable) static CfnLicense.EntitlementProperty.Builder builder()
Copyright © 2022. All rights reserved.