@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegistrationTypeFilter extends Object implements Serializable, Cloneable, StructuredPojo
The filter definition for filtering registration types that meets a specified criteria.
Constructor and Description |
---|
RegistrationTypeFilter() |
Modifier and Type | Method and Description |
---|---|
RegistrationTypeFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the attribute to filter on.
|
List<String> |
getValues()
An array of values to filter on.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the attribute to filter on.
|
void |
setValues(Collection<String> values)
An array of values to filter on.
|
String |
toString()
Returns a string representation of this object.
|
RegistrationTypeFilter |
withName(RegistrationTypeFilterName name)
The name of the attribute to filter on.
|
RegistrationTypeFilter |
withName(String name)
The name of the attribute to filter on.
|
RegistrationTypeFilter |
withValues(Collection<String> values)
An array of values to filter on.
|
RegistrationTypeFilter |
withValues(String... values)
An array of values to filter on.
|
public void setName(String name)
The name of the attribute to filter on.
name
- The name of the attribute to filter on.RegistrationTypeFilterName
public String getName()
The name of the attribute to filter on.
RegistrationTypeFilterName
public RegistrationTypeFilter withName(String name)
The name of the attribute to filter on.
name
- The name of the attribute to filter on.RegistrationTypeFilterName
public RegistrationTypeFilter withName(RegistrationTypeFilterName name)
The name of the attribute to filter on.
name
- The name of the attribute to filter on.RegistrationTypeFilterName
public List<String> getValues()
An array of values to filter on.
public void setValues(Collection<String> values)
An array of values to filter on.
values
- An array of values to filter on.public RegistrationTypeFilter withValues(String... values)
An array of values to filter on.
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
- An array of values to filter on.public RegistrationTypeFilter withValues(Collection<String> values)
An array of values to filter on.
values
- An array of values to filter on.public String toString()
toString
in class Object
Object.toString()
public RegistrationTypeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.