@Generated(value="software.amazon.awssdk:codegen") public class EntitlementValue extends Object implements StructuredPojo, ToCopyableBuilder<EntitlementValue.Builder,EntitlementValue>
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
Modifier and Type | Class and Description |
---|---|
static interface |
EntitlementValue.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
booleanValue()
The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type.
|
static EntitlementValue.Builder |
builder() |
Double |
doubleValue()
The DoubleValue field will be populated with a double value when the entitlement is a double type.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
integerValue()
The IntegerValue field will be populated with an integer value when the entitlement is an integer type.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends EntitlementValue.Builder> |
serializableBuilderClass() |
String |
stringValue()
The StringValue field will be populated with a string value when the entitlement is a string type.
|
EntitlementValue.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer integerValue()
The IntegerValue field will be populated with an integer value when the entitlement is an integer type. Otherwise, the field will not be set.
public Double doubleValue()
The DoubleValue field will be populated with a double value when the entitlement is a double type. Otherwise, the field will not be set.
public Boolean booleanValue()
The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type. Otherwise, the field will not be set.
public String stringValue()
The StringValue field will be populated with a string value when the entitlement is a string type. Otherwise, the field will not be set.
public EntitlementValue.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EntitlementValue.Builder,EntitlementValue>
public static EntitlementValue.Builder builder()
public static Class<? extends EntitlementValue.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.