@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlanOfferingRateProperty extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Savings Plan offering rate property.
Constructor and Description |
---|
SavingsPlanOfferingRateProperty() |
Modifier and Type | Method and Description |
---|---|
SavingsPlanOfferingRateProperty |
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.
|
SavingsPlanOfferingRateProperty |
withName(String name)
The property name.
|
SavingsPlanOfferingRateProperty |
withValue(String value)
The property value.
|
public void setName(String name)
The property name.
name
- The property name.public String getName()
The property name.
public SavingsPlanOfferingRateProperty withName(String name)
The property name.
name
- The property name.public void setValue(String value)
The property value.
value
- The property value.public String getValue()
The property value.
public SavingsPlanOfferingRateProperty withValue(String value)
The property value.
value
- The property value.public String toString()
toString
in class Object
Object.toString()
public SavingsPlanOfferingRateProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.