@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlanRateProperty extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Savings Plan rate property.
| Constructor and Description |
|---|
SavingsPlanRateProperty() |
| Modifier and Type | Method and Description |
|---|---|
SavingsPlanRateProperty |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The property name.
|
String |
getValue()
The property value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The property name.
|
void |
setValue(String value)
The property value.
|
String |
toString()
Returns a string representation of this object.
|
SavingsPlanRateProperty |
withName(SavingsPlanRatePropertyKey name)
The property name.
|
SavingsPlanRateProperty |
withName(String name)
The property name.
|
SavingsPlanRateProperty |
withValue(String value)
The property value.
|
public void setName(String name)
The property name.
name - The property name.SavingsPlanRatePropertyKeypublic String getName()
The property name.
SavingsPlanRatePropertyKeypublic SavingsPlanRateProperty withName(String name)
The property name.
name - The property name.SavingsPlanRatePropertyKeypublic SavingsPlanRateProperty withName(SavingsPlanRatePropertyKey name)
The property name.
name - The property name.SavingsPlanRatePropertyKeypublic void setValue(String value)
The property value.
value - The property value.public String getValue()
The property value.
public SavingsPlanRateProperty withValue(String value)
The property value.
value - The property value.public String toString()
toString in class ObjectObject.toString()public SavingsPlanRateProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.