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