@Generated(value="software.amazon.awssdk:codegen") public final class ServiceFilter extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasValues()
Returns true if the Values property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
ServiceFilterName |
name()
Specify
NAMESPACE_ID. |
String |
nameAsString()
Specify
NAMESPACE_ID. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceFilter.Builder> |
serializableBuilderClass() |
ServiceFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
values()
The values that are applicable to the value that you specify for
Condition to filter the list of
services. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final 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 final boolean hasValues()
public final 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.
You can use hasValues() to see if a value was sent in this field.
Condition to filter the
list of services.public final 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.
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.
BETWEEN: Not applicable.
FilterConditionpublic final 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.
BETWEEN: Not applicable.
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.
BETWEEN: Not applicable.
FilterConditionpublic ServiceFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceFilter.Builder,ServiceFilter>public static ServiceFilter.Builder builder()
public static Class<? extends ServiceFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.