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