@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceFilter extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that lets you specify the namespaces that you want to list services for.
| Constructor and Description |
|---|
ServiceFilter() |
| Modifier and Type | Method and Description |
|---|---|
ServiceFilter |
clone() |
boolean |
equals(Object obj) |
String |
getCondition()
The operator that you want to use to determine whether a service is returned by
ListServices. |
String |
getName()
Specify
NAMESPACE_ID. |
List<String> |
getValues()
The values that are applicable to the value that you specify for
Condition to filter the list of
services. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCondition(String condition)
The operator that you want to use to determine whether a service is returned by
ListServices. |
void |
setName(String name)
Specify
NAMESPACE_ID. |
void |
setValues(Collection<String> values)
The values that are applicable to the value that you specify for
Condition to filter the list of
services. |
String |
toString()
Returns a string representation of this object.
|
ServiceFilter |
withCondition(FilterCondition condition)
The operator that you want to use to determine whether a service is returned by
ListServices. |
ServiceFilter |
withCondition(String condition)
The operator that you want to use to determine whether a service is returned by
ListServices. |
ServiceFilter |
withName(ServiceFilterName name)
Specify
NAMESPACE_ID. |
ServiceFilter |
withName(String name)
Specify
NAMESPACE_ID. |
ServiceFilter |
withValues(Collection<String> values)
The values that are applicable to the value that you specify for
Condition to filter the list of
services. |
ServiceFilter |
withValues(String... values)
The values that are applicable to the value that you specify for
Condition to filter the list of
services. |
public void setName(String name)
Specify NAMESPACE_ID.
name - Specify NAMESPACE_ID.ServiceFilterNamepublic String getName()
Specify NAMESPACE_ID.
NAMESPACE_ID.ServiceFilterNamepublic ServiceFilter withName(String name)
Specify NAMESPACE_ID.
name - Specify NAMESPACE_ID.ServiceFilterNamepublic ServiceFilter withName(ServiceFilterName name)
Specify NAMESPACE_ID.
name - Specify NAMESPACE_ID.ServiceFilterNamepublic List<String> getValues()
The values that are applicable to the value that you specify for Condition to filter the list of
services.
Condition to filter the
list of services.public void setValues(Collection<String> values)
The values that are applicable to the value that you specify for Condition to filter the list of
services.
values - The values that are applicable to the value that you specify for Condition to filter the list
of services.public ServiceFilter withValues(String... values)
The values that are applicable to the value that you specify for Condition to filter the list of
services.
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 values that are applicable to the value that you specify for Condition to filter the list
of services.public ServiceFilter withValues(Collection<String> values)
The values that are applicable to the value that you specify for Condition to filter the list of
services.
values - The values that are applicable to the value that you specify for Condition to filter the list
of services.public void setCondition(String condition)
The operator that you want to use to determine whether a service is returned by ListServices. Valid
values for Condition include the following:
EQ: When you specify EQ, specify one namespace ID for Values.
EQ is the default condition and can be omitted.
IN: When you specify IN, specify a list of the IDs for the namespaces that you want
ListServices to return a list of services for.
BETWEEN: Not applicable.
condition - The operator that you want to use to determine whether a service is returned by ListServices.
Valid values for Condition include the following:
EQ: When you specify EQ, specify one namespace ID for Values.
EQ is the default condition and can be omitted.
IN: When you specify IN, specify a list of the IDs for the namespaces that you
want ListServices to return a list of services for.
BETWEEN: Not applicable.
FilterConditionpublic String getCondition()
The operator that you want to use to determine whether a service is returned by ListServices. Valid
values for Condition include the following:
EQ: When you specify EQ, specify one namespace ID for Values.
EQ is the default condition and can be omitted.
IN: When you specify IN, specify a list of the IDs for the namespaces that you want
ListServices to return a list of services for.
BETWEEN: Not applicable.
ListServices
. Valid values for Condition include the following:
EQ: When you specify EQ, specify one namespace ID for Values.
EQ is the default condition and can be omitted.
IN: When you specify IN, specify a list of the IDs for the namespaces that you
want ListServices to return a list of services for.
BETWEEN: Not applicable.
FilterConditionpublic ServiceFilter withCondition(String condition)
The operator that you want to use to determine whether a service is returned by ListServices. Valid
values for Condition include the following:
EQ: When you specify EQ, specify one namespace ID for Values.
EQ is the default condition and can be omitted.
IN: When you specify IN, specify a list of the IDs for the namespaces that you want
ListServices to return a list of services for.
BETWEEN: Not applicable.
condition - The operator that you want to use to determine whether a service is returned by ListServices.
Valid values for Condition include the following:
EQ: When you specify EQ, specify one namespace ID for Values.
EQ is the default condition and can be omitted.
IN: When you specify IN, specify a list of the IDs for the namespaces that you
want ListServices to return a list of services for.
BETWEEN: Not applicable.
FilterConditionpublic ServiceFilter withCondition(FilterCondition condition)
The operator that you want to use to determine whether a service is returned by ListServices. Valid
values for Condition include the following:
EQ: When you specify EQ, specify one namespace ID for Values.
EQ is the default condition and can be omitted.
IN: When you specify IN, specify a list of the IDs for the namespaces that you want
ListServices to return a list of services for.
BETWEEN: Not applicable.
condition - The operator that you want to use to determine whether a service is returned by ListServices.
Valid values for Condition include the following:
EQ: When you specify EQ, specify one namespace ID for Values.
EQ is the default condition and can be omitted.
IN: When you specify IN, specify a list of the IDs for the namespaces that you
want ListServices to return a list of services for.
BETWEEN: Not applicable.
FilterConditionpublic String toString()
toString in class ObjectObject.toString()public ServiceFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.