@Generated(value="software.amazon.awssdk:codegen") public class ServiceFilter extends Object implements StructuredPojo, ToCopyableBuilder<ServiceFilter.Builder,ServiceFilter>
A complex type that lets you specify the namespaces that you want to list services for.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServiceFilter.Builder |
builder() |
FilterCondition |
condition()
The operator that you want to use to determine whether a service is returned by
ListServices. |
String |
conditionAsString()
The operator that you want to use to determine whether a service is returned by
ListServices. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
ServiceFilterName |
name()
Specify
NAMESPACE_ID. |
String |
nameAsString()
Specify
NAMESPACE_ID. |
static Class<? extends ServiceFilter.Builder> |
serializableBuilderClass() |
ServiceFilter.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<String> |
values()
The values that are applicable to the value that you specify for
Condition to filter the list of
services. |
copypublic ServiceFilterName name()
Specify NAMESPACE_ID.
If the service returns an enum value that is not available in the current SDK version, name will return
ServiceFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
NAMESPACE_ID.ServiceFilterNamepublic String nameAsString()
Specify NAMESPACE_ID.
If the service returns an enum value that is not available in the current SDK version, name will return
ServiceFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
NAMESPACE_ID.ServiceFilterNamepublic List<String> values()
The values that are applicable to the value that you specify for Condition to filter the list of
services.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Condition to filter the
list of services.public 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.
If the service returns an enum value that is not available in the current SDK version, condition will
return FilterCondition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
conditionAsString().
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.
FilterConditionpublic String conditionAsString()
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.
If the service returns an enum value that is not available in the current SDK version, condition will
return FilterCondition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
conditionAsString().
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.
FilterConditionpublic ServiceFilter.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ServiceFilter.Builder,ServiceFilter>public static ServiceFilter.Builder builder()
public static Class<? extends ServiceFilter.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.