@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlanOfferingProperty extends Object implements Serializable, Cloneable, StructuredPojo
Information about a 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) |
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.SavingsPlanOfferingPropertyKeypublic String getName()
The property name.
SavingsPlanOfferingPropertyKeypublic SavingsPlanOfferingProperty withName(String name)
The property name.
name - The property name.SavingsPlanOfferingPropertyKeypublic SavingsPlanOfferingProperty withName(SavingsPlanOfferingPropertyKey name)
The property name.
name - The property name.SavingsPlanOfferingPropertyKeypublic 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 ObjectObject.toString()public SavingsPlanOfferingProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.