@Generated(value="software.amazon.awssdk:codegen") public final class USD extends Object implements SdkPojo, Serializable, ToCopyableBuilder<USD.Builder,USD>
Represents an amount of money in United States dollars.
Modifier and Type | Class and Description |
---|---|
static interface |
USD.Builder |
Modifier and Type | Method and Description |
---|---|
static USD.Builder |
builder() |
Integer |
cents()
The fractional portion, in cents, of the amount.
|
Integer |
dollars()
The whole number of dollars in the amount.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends USD.Builder> |
serializableBuilderClass() |
Integer |
tenthFractionsOfACent()
Fractions of a cent, in tenths.
|
USD.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Integer dollars()
The whole number of dollars in the amount.
public final Integer cents()
The fractional portion, in cents, of the amount.
public final Integer tenthFractionsOfACent()
Fractions of a cent, in tenths.
public USD.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<USD.Builder,USD>
public static USD.Builder builder()
public static Class<? extends USD.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.