@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlanOfferingRateFilterElement extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Savings Plan offering rate filter.
Constructor and Description |
---|
SavingsPlanOfferingRateFilterElement() |
Modifier and Type | Method and Description |
---|---|
SavingsPlanOfferingRateFilterElement |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The filter name.
|
List<String> |
getValues()
The filter values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The filter name.
|
void |
setValues(Collection<String> values)
The filter values.
|
String |
toString()
Returns a string representation of this object.
|
SavingsPlanOfferingRateFilterElement |
withName(SavingsPlanRateFilterAttribute name)
The filter name.
|
SavingsPlanOfferingRateFilterElement |
withName(String name)
The filter name.
|
SavingsPlanOfferingRateFilterElement |
withValues(Collection<String> values)
The filter values.
|
SavingsPlanOfferingRateFilterElement |
withValues(String... values)
The filter values.
|
public SavingsPlanOfferingRateFilterElement()
public void setName(String name)
The filter name.
name
- The filter name.SavingsPlanRateFilterAttribute
public String getName()
The filter name.
SavingsPlanRateFilterAttribute
public SavingsPlanOfferingRateFilterElement withName(String name)
The filter name.
name
- The filter name.SavingsPlanRateFilterAttribute
public SavingsPlanOfferingRateFilterElement withName(SavingsPlanRateFilterAttribute name)
The filter name.
name
- The filter name.SavingsPlanRateFilterAttribute
public void setValues(Collection<String> values)
The filter values.
values
- The filter values.public SavingsPlanOfferingRateFilterElement withValues(String... values)
The filter values.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The filter values.public SavingsPlanOfferingRateFilterElement withValues(Collection<String> values)
The filter values.
values
- The filter values.public String toString()
toString
in class Object
Object.toString()
public SavingsPlanOfferingRateFilterElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.