@Generated(value="software.amazon.awssdk:codegen") public final class Entitlement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Entitlement.Builder,Entitlement>
Describes a resource entitled for use with a license.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Entitlement.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowCheckIn()
Indicates whether check-ins are allowed.
|
static Entitlement.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
maxCount()
Maximum entitlement count.
|
String |
name()
Entitlement name.
|
Boolean |
overage()
Indicates whether overages are allowed.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Entitlement.Builder> |
serializableBuilderClass() |
Entitlement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
EntitlementUnit |
unit()
Entitlement unit.
|
String |
unitAsString()
Entitlement unit.
|
String |
value()
Entitlement resource.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
Entitlement name.
public final String value()
Entitlement resource. Use only if the unit is None.
public final Long maxCount()
Maximum entitlement count. Use if the unit is not None.
public final Boolean overage()
Indicates whether overages are allowed.
public final EntitlementUnit unit()
Entitlement unit.
If the service returns an enum value that is not available in the current SDK version, unit will return
EntitlementUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
EntitlementUnitpublic final String unitAsString()
Entitlement unit.
If the service returns an enum value that is not available in the current SDK version, unit will return
EntitlementUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
EntitlementUnitpublic final Boolean allowCheckIn()
Indicates whether check-ins are allowed.
public Entitlement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Entitlement.Builder,Entitlement>public static Entitlement.Builder builder()
public static Class<? extends Entitlement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.