@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Selector extends Object implements Serializable, Cloneable, StructuredPojo
Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.
Constructor and Description |
---|
Selector() |
Modifier and Type | Method and Description |
---|---|
Selector |
clone() |
boolean |
equals(Object obj) |
String |
getType()
Category of selector.
|
String |
getValue()
Contract duration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
Category of selector.
|
void |
setValue(String value)
Contract duration.
|
String |
toString()
Returns a string representation of this object.
|
Selector |
withType(String type)
Category of selector.
|
Selector |
withValue(String value)
Contract duration.
|
public void setType(String type)
Category of selector.
type
- Category of selector.public String getType()
Category of selector.
public Selector withType(String type)
Category of selector.
type
- Category of selector.public void setValue(String value)
Contract duration. This field supports the ISO 8601 format.
value
- Contract duration. This field supports the ISO 8601 format.public String getValue()
Contract duration. This field supports the ISO 8601 format.
public Selector withValue(String value)
Contract duration. This field supports the ISO 8601 format.
value
- Contract duration. This field supports the ISO 8601 format.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.