@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigurableUpfrontPricingTermConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.
Constructor and Description |
---|
ConfigurableUpfrontPricingTermConfiguration() |
Modifier and Type | Method and Description |
---|---|
ConfigurableUpfrontPricingTermConfiguration |
clone() |
boolean |
equals(Object obj) |
List<Dimension> |
getDimensions()
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate
card.
|
String |
getSelectorValue()
Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensions(Collection<Dimension> dimensions)
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate
card.
|
void |
setSelectorValue(String selectorValue)
Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.
|
String |
toString()
Returns a string representation of this object.
|
ConfigurableUpfrontPricingTermConfiguration |
withDimensions(Collection<Dimension> dimensions)
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate
card.
|
ConfigurableUpfrontPricingTermConfiguration |
withDimensions(Dimension... dimensions)
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate
card.
|
ConfigurableUpfrontPricingTermConfiguration |
withSelectorValue(String selectorValue)
Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.
|
public ConfigurableUpfrontPricingTermConfiguration()
public List<Dimension> getDimensions()
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.
public void setDimensions(Collection<Dimension> dimensions)
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.
dimensions
- Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the
rate card.public ConfigurableUpfrontPricingTermConfiguration withDimensions(Dimension... dimensions)
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.
NOTE: This method appends the values to the existing list (if any). Use
setDimensions(java.util.Collection)
or withDimensions(java.util.Collection)
if you want to
override the existing values.
dimensions
- Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the
rate card.public ConfigurableUpfrontPricingTermConfiguration withDimensions(Collection<Dimension> dimensions)
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.
dimensions
- Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the
rate card.public void setSelectorValue(String selectorValue)
Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.
selectorValue
- Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.public String getSelectorValue()
Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.
public ConfigurableUpfrontPricingTermConfiguration withSelectorValue(String selectorValue)
Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.
selectorValue
- Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.public String toString()
toString
in class Object
Object.toString()
public ConfigurableUpfrontPricingTermConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.