@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) |
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.DescribePackagesFilterNamepublic String getName()
Any field from PackageDetails.
PackageDetails.DescribePackagesFilterNamepublic DescribePackagesFilter withName(String name)
Any field from PackageDetails.
name - Any field from PackageDetails.DescribePackagesFilterNamepublic DescribePackagesFilter withName(DescribePackagesFilterName name)
Any field from PackageDetails.
name - Any field from PackageDetails.DescribePackagesFilterNamepublic 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 ObjectObject.toString()public DescribePackagesFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.