@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Dimension extends Object implements Serializable, Cloneable, StructuredPojo
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.
Constructor and Description |
---|
Dimension() |
Modifier and Type | Method and Description |
---|---|
Dimension |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionKey()
The name of key value of the dimension.
|
Integer |
getDimensionValue()
The number of units of the dimension the acceptor has purchased.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensionKey(String dimensionKey)
The name of key value of the dimension.
|
void |
setDimensionValue(Integer dimensionValue)
The number of units of the dimension the acceptor has purchased.
|
String |
toString()
Returns a string representation of this object.
|
Dimension |
withDimensionKey(String dimensionKey)
The name of key value of the dimension.
|
Dimension |
withDimensionValue(Integer dimensionValue)
The number of units of the dimension the acceptor has purchased.
|
public void setDimensionKey(String dimensionKey)
The name of key value of the dimension.
dimensionKey
- The name of key value of the dimension.public String getDimensionKey()
The name of key value of the dimension.
public Dimension withDimensionKey(String dimensionKey)
The name of key value of the dimension.
dimensionKey
- The name of key value of the dimension.public void setDimensionValue(Integer dimensionValue)
The number of units of the dimension the acceptor has purchased.
For Agreements with ConfigurableUpfrontPricingTerm
, the RateCard
section will define
the prices and dimensions defined by the seller (proposer), whereas the Configuration
section will
define the actual dimensions, prices, and units the buyer has chosen to accept.
dimensionValue
- The number of units of the dimension the acceptor has purchased.
For Agreements with ConfigurableUpfrontPricingTerm
, the RateCard
section will
define the prices and dimensions defined by the seller (proposer), whereas the Configuration
section will define the actual dimensions, prices, and units the buyer has chosen to accept.
public Integer getDimensionValue()
The number of units of the dimension the acceptor has purchased.
For Agreements with ConfigurableUpfrontPricingTerm
, the RateCard
section will define
the prices and dimensions defined by the seller (proposer), whereas the Configuration
section will
define the actual dimensions, prices, and units the buyer has chosen to accept.
For Agreements with ConfigurableUpfrontPricingTerm
, the RateCard
section will
define the prices and dimensions defined by the seller (proposer), whereas the Configuration
section will define the actual dimensions, prices, and units the buyer has chosen to accept.
public Dimension withDimensionValue(Integer dimensionValue)
The number of units of the dimension the acceptor has purchased.
For Agreements with ConfigurableUpfrontPricingTerm
, the RateCard
section will define
the prices and dimensions defined by the seller (proposer), whereas the Configuration
section will
define the actual dimensions, prices, and units the buyer has chosen to accept.
dimensionValue
- The number of units of the dimension the acceptor has purchased.
For Agreements with ConfigurableUpfrontPricingTerm
, the RateCard
section will
define the prices and dimensions defined by the seller (proposer), whereas the Configuration
section will define the actual dimensions, prices, and units the buyer has chosen to accept.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.