@Generated(value="software.amazon.awssdk:codegen") public final class NamespaceFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NamespaceFilter.Builder,NamespaceFilter>
A complex type that identifies the namespaces that you want to list. You can choose to list public or private namespaces.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NamespaceFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NamespaceFilter.Builder |
builder() |
FilterCondition |
condition()
The operator that you want to use to determine whether
ListNamespaces returns a namespace. |
String |
conditionAsString()
The operator that you want to use to determine whether
ListNamespaces returns a namespace. |
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).
|
NamespaceFilterName |
name()
Specify
TYPE. |
String |
nameAsString()
Specify
TYPE. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends NamespaceFilter.Builder> |
serializableBuilderClass() |
NamespaceFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
values()
If you specify
EQ for Condition, specify either DNS_PUBLIC or
DNS_PRIVATE. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final NamespaceFilterName name()
Specify TYPE.
If the service returns an enum value that is not available in the current SDK version, name will return
NamespaceFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
TYPE.NamespaceFilterNamepublic final String nameAsString()
Specify TYPE.
If the service returns an enum value that is not available in the current SDK version, name will return
NamespaceFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
TYPE.NamespaceFilterNamepublic final boolean hasValues()
public final List<String> values()
If you specify EQ for Condition, specify either DNS_PUBLIC or
DNS_PRIVATE.
If you specify IN for Condition, you can specify DNS_PUBLIC,
DNS_PRIVATE, or both.
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.
EQ for Condition, specify either DNS_PUBLIC or
DNS_PRIVATE.
If you specify IN for Condition, you can specify DNS_PUBLIC,
DNS_PRIVATE, or both.
public final FilterCondition condition()
The operator that you want to use to determine whether ListNamespaces returns a namespace. Valid
values for condition include:
When you specify EQ for the condition, you can choose to list only public namespaces or private
namespaces, but not both. EQ is the default condition and can be omitted.
When you specify IN for the condition, you can choose to list public namespaces, private namespaces,
or both.
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().
ListNamespaces returns a namespace.
Valid values for condition include:
When you specify EQ for the condition, you can choose to list only public namespaces or
private namespaces, but not both. EQ is the default condition and can be omitted.
When you specify IN for the condition, you can choose to list public namespaces, private
namespaces, or both.
Not applicable
FilterConditionpublic final String conditionAsString()
The operator that you want to use to determine whether ListNamespaces returns a namespace. Valid
values for condition include:
When you specify EQ for the condition, you can choose to list only public namespaces or private
namespaces, but not both. EQ is the default condition and can be omitted.
When you specify IN for the condition, you can choose to list public namespaces, private namespaces,
or both.
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().
ListNamespaces returns a namespace.
Valid values for condition include:
When you specify EQ for the condition, you can choose to list only public namespaces or
private namespaces, but not both. EQ is the default condition and can be omitted.
When you specify IN for the condition, you can choose to list public namespaces, private
namespaces, or both.
Not applicable
FilterConditionpublic NamespaceFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NamespaceFilter.Builder,NamespaceFilter>public static NamespaceFilter.Builder builder()
public static Class<? extends NamespaceFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.