@Generated(value="software.amazon.awssdk:codegen") public final class NamespaceFilter extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
NamespaceFilterName |
name()
Specify
TYPE . |
String |
nameAsString()
Specify
TYPE . |
static Class<? extends NamespaceFilter.Builder> |
serializableBuilderClass() |
NamespaceFilter.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()
If you specify
EQ for Condition , specify either DNS_PUBLIC or
DNS_PRIVATE . |
copy
public 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
.NamespaceFilterName
public 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
.NamespaceFilterName
public 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.
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 FilterCondition condition()
The operator that you want to use to determine whether ListNamespaces
returns a namespace. Valid
values for condition
include:
EQ
: 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.
IN
: When you specify IN
for the condition, you can choose to list public namespaces,
private namespaces, or both.
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:
EQ
: 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.
IN
: When you specify IN
for the condition, you can choose to list public
namespaces, private namespaces, or both.
FilterCondition
public String conditionAsString()
The operator that you want to use to determine whether ListNamespaces
returns a namespace. Valid
values for condition
include:
EQ
: 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.
IN
: When you specify IN
for the condition, you can choose to list public namespaces,
private namespaces, or both.
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:
EQ
: 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.
IN
: When you specify IN
for the condition, you can choose to list public
namespaces, private namespaces, or both.
FilterCondition
public NamespaceFilter.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NamespaceFilter.Builder,NamespaceFilter>
public static NamespaceFilter.Builder builder()
public static Class<? extends NamespaceFilter.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.