@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePackagesFilter extends Object implements Serializable, Cloneable, StructuredPojo
Filter to apply in DescribePackage
response.
Constructor and Description |
---|
DescribePackagesFilter() |
Modifier and Type | Method and Description |
---|---|
DescribePackagesFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Any field from
PackageDetails . |
List<String> |
getValue()
A non-empty list of values for the specified field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
Any field from
PackageDetails . |
void |
setValue(Collection<String> value)
A non-empty list of values for the specified field.
|
String |
toString()
Returns a string representation of this object.
|
DescribePackagesFilter |
withName(DescribePackagesFilterName name)
Any field from
PackageDetails . |
DescribePackagesFilter |
withName(String name)
Any field from
PackageDetails . |
DescribePackagesFilter |
withValue(Collection<String> value)
A non-empty list of values for the specified field.
|
DescribePackagesFilter |
withValue(String... value)
A non-empty list of values for the specified field.
|
public void setName(String name)
Any field from PackageDetails
.
name
- Any field from PackageDetails
.DescribePackagesFilterName
public String getName()
Any field from PackageDetails
.
PackageDetails
.DescribePackagesFilterName
public DescribePackagesFilter withName(String name)
Any field from PackageDetails
.
name
- Any field from PackageDetails
.DescribePackagesFilterName
public DescribePackagesFilter withName(DescribePackagesFilterName name)
Any field from PackageDetails
.
name
- Any field from PackageDetails
.DescribePackagesFilterName
public List<String> getValue()
A non-empty list of values for the specified field.
public void setValue(Collection<String> value)
A non-empty list of values for the specified field.
value
- A non-empty list of values for the specified field.public DescribePackagesFilter withValue(String... value)
A non-empty list of values for the specified field.
NOTE: This method appends the values to the existing list (if any). Use
setValue(java.util.Collection)
or withValue(java.util.Collection)
if you want to override the
existing values.
value
- A non-empty list of values for the specified field.public DescribePackagesFilter withValue(Collection<String> value)
A non-empty list of values for the specified field.
value
- A non-empty list of values for the specified field.public String toString()
toString
in class Object
Object.toString()
public DescribePackagesFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.