@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
.ServiceFilterName
public String getName()
Specify NAMESPACE_ID
.
NAMESPACE_ID
.ServiceFilterName
public ServiceFilter withName(String name)
Specify NAMESPACE_ID
.
name
- Specify NAMESPACE_ID
.ServiceFilterName
public ServiceFilter withName(ServiceFilterName name)
Specify NAMESPACE_ID
.
name
- Specify NAMESPACE_ID
.ServiceFilterName
public 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.
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.
FilterCondition
public 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.
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.
FilterCondition
public 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.
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.
FilterCondition
public 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.
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.
FilterCondition
public String toString()
toString
in class Object
Object.toString()
public ServiceFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.