@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProtectConfigurationFilter extends Object implements Serializable, Cloneable, StructuredPojo
The filter definition for filtering protect configurations that meet a specified criteria.
| Constructor and Description |
|---|
ProtectConfigurationFilter() |
| Modifier and Type | Method and Description |
|---|---|
ProtectConfigurationFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the attribute to filter on.
|
List<String> |
getValues()
An array of values to filter for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The name of the attribute to filter on.
|
void |
setValues(Collection<String> values)
An array of values to filter for.
|
String |
toString()
Returns a string representation of this object.
|
ProtectConfigurationFilter |
withName(ProtectConfigurationFilterName name)
The name of the attribute to filter on.
|
ProtectConfigurationFilter |
withName(String name)
The name of the attribute to filter on.
|
ProtectConfigurationFilter |
withValues(Collection<String> values)
An array of values to filter for.
|
ProtectConfigurationFilter |
withValues(String... values)
An array of values to filter for.
|
public void setName(String name)
The name of the attribute to filter on.
name - The name of the attribute to filter on.ProtectConfigurationFilterNamepublic String getName()
The name of the attribute to filter on.
ProtectConfigurationFilterNamepublic ProtectConfigurationFilter withName(String name)
The name of the attribute to filter on.
name - The name of the attribute to filter on.ProtectConfigurationFilterNamepublic ProtectConfigurationFilter withName(ProtectConfigurationFilterName name)
The name of the attribute to filter on.
name - The name of the attribute to filter on.ProtectConfigurationFilterNamepublic List<String> getValues()
An array of values to filter for.
public void setValues(Collection<String> values)
An array of values to filter for.
values - An array of values to filter for.public ProtectConfigurationFilter withValues(String... values)
An array of values to filter for.
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 for.public ProtectConfigurationFilter withValues(Collection<String> values)
An array of values to filter for.
values - An array of values to filter for.public String toString()
toString in class ObjectObject.toString()public ProtectConfigurationFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.