Class Dimension
- java.lang.Object
-
- software.amazon.awssdk.services.marketplaceagreement.model.Dimension
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Dimension.Builder,Dimension>
@Generated("software.amazon.awssdk:codegen") public final class Dimension extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Dimension.Builder,Dimension>
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDimension.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Dimension.Builderbuilder()StringdimensionKey()The name of key value of the dimension.IntegerdimensionValue()The number of units of the dimension the acceptor has purchased.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Dimension.Builder>serializableBuilderClass()Dimension.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dimensionKey
public final String dimensionKey()
The name of key value of the dimension.
- Returns:
- The name of key value of the dimension.
-
dimensionValue
public final Integer dimensionValue()
The number of units of the dimension the acceptor has purchased.
For Agreements with
ConfigurableUpfrontPricingTerm, theRateCardsection will define the prices and dimensions defined by the seller (proposer), whereas theConfigurationsection will define the actual dimensions, prices, and units the buyer has chosen to accept.- Returns:
- The number of units of the dimension the acceptor has purchased.
For Agreements with
ConfigurableUpfrontPricingTerm, theRateCardsection will define the prices and dimensions defined by the seller (proposer), whereas theConfigurationsection will define the actual dimensions, prices, and units the buyer has chosen to accept.
-
toBuilder
public Dimension.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Dimension.Builder,Dimension>
-
builder
public static Dimension.Builder builder()
-
serializableBuilderClass
public static Class<? extends Dimension.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-