@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
A query filter used by ListUsers and ListGroups. This filter object provides the attribute
name and attribute value to search users or groups.
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getAttributePath()
The attribute path that is used to specify which attribute name to search.
|
String |
getAttributeValue()
Represents the data for an attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributePath(String attributePath)
The attribute path that is used to specify which attribute name to search.
|
void |
setAttributeValue(String attributeValue)
Represents the data for an attribute.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withAttributePath(String attributePath)
The attribute path that is used to specify which attribute name to search.
|
Filter |
withAttributeValue(String attributeValue)
Represents the data for an attribute.
|
public void setAttributePath(String attributePath)
The attribute path that is used to specify which attribute name to search. Length limit is 255 characters. For
example, UserName is a valid attribute path for the ListUsers API, and
DisplayName is a valid attribute path for the ListGroups API.
attributePath - The attribute path that is used to specify which attribute name to search. Length limit is 255 characters.
For example, UserName is a valid attribute path for the ListUsers API, and
DisplayName is a valid attribute path for the ListGroups API.public String getAttributePath()
The attribute path that is used to specify which attribute name to search. Length limit is 255 characters. For
example, UserName is a valid attribute path for the ListUsers API, and
DisplayName is a valid attribute path for the ListGroups API.
UserName is a valid attribute path for the ListUsers
API, and DisplayName is a valid attribute path for the ListGroups API.public Filter withAttributePath(String attributePath)
The attribute path that is used to specify which attribute name to search. Length limit is 255 characters. For
example, UserName is a valid attribute path for the ListUsers API, and
DisplayName is a valid attribute path for the ListGroups API.
attributePath - The attribute path that is used to specify which attribute name to search. Length limit is 255 characters.
For example, UserName is a valid attribute path for the ListUsers API, and
DisplayName is a valid attribute path for the ListGroups API.public void setAttributeValue(String attributeValue)
Represents the data for an attribute. Each attribute value is described as a name-value pair.
attributeValue - Represents the data for an attribute. Each attribute value is described as a name-value pair.public String getAttributeValue()
Represents the data for an attribute. Each attribute value is described as a name-value pair.
public Filter withAttributeValue(String attributeValue)
Represents the data for an attribute. Each attribute value is described as a name-value pair.
attributeValue - Represents the data for an attribute. Each attribute value is described as a name-value pair.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.