@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPricingRulesFilter extends Object implements Serializable, Cloneable, StructuredPojo
The filter that specifies criteria that the pricing rules returned by the ListPricingRules
API will
adhere to.
Constructor and Description |
---|
ListPricingRulesFilter() |
Modifier and Type | Method and Description |
---|---|
ListPricingRulesFilter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getArns()
A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArns(Collection<String> arns)
A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.
|
String |
toString()
Returns a string representation of this object.
|
ListPricingRulesFilter |
withArns(Collection<String> arns)
A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.
|
ListPricingRulesFilter |
withArns(String... arns)
A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.
|
public List<String> getArns()
A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.
public void setArns(Collection<String> arns)
A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.
arns
- A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.public ListPricingRulesFilter withArns(String... arns)
A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.
NOTE: This method appends the values to the existing list (if any). Use
setArns(java.util.Collection)
or withArns(java.util.Collection)
if you want to override the
existing values.
arns
- A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.public ListPricingRulesFilter withArns(Collection<String> arns)
A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.
arns
- A list containing the pricing rule Amazon Resource Names (ARNs) to include in the API response.public String toString()
toString
in class Object
Object.toString()
public ListPricingRulesFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.