@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnrollmentFilter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a filter that returns a more specific list of account enrollment statuses. Use this filter with the GetEnrollmentStatusesForOrganization action.
| Constructor and Description |
|---|
EnrollmentFilter() |
| Modifier and Type | Method and Description |
|---|---|
EnrollmentFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the filter.
|
List<String> |
getValues()
The value of the filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The name of the filter.
|
void |
setValues(Collection<String> values)
The value of the filter.
|
String |
toString()
Returns a string representation of this object.
|
EnrollmentFilter |
withName(EnrollmentFilterName name)
The name of the filter.
|
EnrollmentFilter |
withName(String name)
The name of the filter.
|
EnrollmentFilter |
withValues(Collection<String> values)
The value of the filter.
|
EnrollmentFilter |
withValues(String... values)
The value of the filter.
|
public void setName(String name)
The name of the filter.
Specify Status to return accounts with a specific enrollment status (for example,
Active).
name - The name of the filter.
Specify Status to return accounts with a specific enrollment status (for example,
Active).
EnrollmentFilterNamepublic String getName()
The name of the filter.
Specify Status to return accounts with a specific enrollment status (for example,
Active).
Specify Status to return accounts with a specific enrollment status (for example,
Active).
EnrollmentFilterNamepublic EnrollmentFilter withName(String name)
The name of the filter.
Specify Status to return accounts with a specific enrollment status (for example,
Active).
name - The name of the filter.
Specify Status to return accounts with a specific enrollment status (for example,
Active).
EnrollmentFilterNamepublic EnrollmentFilter withName(EnrollmentFilterName name)
The name of the filter.
Specify Status to return accounts with a specific enrollment status (for example,
Active).
name - The name of the filter.
Specify Status to return accounts with a specific enrollment status (for example,
Active).
EnrollmentFilterNamepublic List<String> getValues()
The value of the filter.
The valid values are Active, Inactive, Pending, and Failed.
The valid values are Active, Inactive, Pending, and
Failed.
public void setValues(Collection<String> values)
The value of the filter.
The valid values are Active, Inactive, Pending, and Failed.
values - The value of the filter.
The valid values are Active, Inactive, Pending, and
Failed.
public EnrollmentFilter withValues(String... values)
The value of the filter.
The valid values are Active, Inactive, Pending, and Failed.
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 - The value of the filter.
The valid values are Active, Inactive, Pending, and
Failed.
public EnrollmentFilter withValues(Collection<String> values)
The value of the filter.
The valid values are Active, Inactive, Pending, and Failed.
values - The value of the filter.
The valid values are Active, Inactive, Pending, and
Failed.
public String toString()
toString in class ObjectObject.toString()public EnrollmentFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.