@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NamespaceFilter extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that identifies the namespaces that you want to list. You can choose to list public or private namespaces.
Constructor and Description |
---|
NamespaceFilter() |
Modifier and Type | Method and Description |
---|---|
NamespaceFilter |
clone() |
boolean |
equals(Object obj) |
String |
getCondition()
The operator that you want to use to determine whether
ListNamespaces returns a namespace. |
String |
getName()
Specify
TYPE . |
List<String> |
getValues()
If you specify
EQ for Condition , specify either DNS_PUBLIC or
DNS_PRIVATE . |
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
ListNamespaces returns a namespace. |
void |
setName(String name)
Specify
TYPE . |
void |
setValues(Collection<String> values)
If you specify
EQ for Condition , specify either DNS_PUBLIC or
DNS_PRIVATE . |
String |
toString()
Returns a string representation of this object.
|
NamespaceFilter |
withCondition(FilterCondition condition)
The operator that you want to use to determine whether
ListNamespaces returns a namespace. |
NamespaceFilter |
withCondition(String condition)
The operator that you want to use to determine whether
ListNamespaces returns a namespace. |
NamespaceFilter |
withName(NamespaceFilterName name)
Specify
TYPE . |
NamespaceFilter |
withName(String name)
Specify
TYPE . |
NamespaceFilter |
withValues(Collection<String> values)
If you specify
EQ for Condition , specify either DNS_PUBLIC or
DNS_PRIVATE . |
NamespaceFilter |
withValues(String... values)
If you specify
EQ for Condition , specify either DNS_PUBLIC or
DNS_PRIVATE . |
public void setName(String name)
Specify TYPE
.
name
- Specify TYPE
.NamespaceFilterName
public String getName()
Specify TYPE
.
TYPE
.NamespaceFilterName
public NamespaceFilter withName(String name)
Specify TYPE
.
name
- Specify TYPE
.NamespaceFilterName
public NamespaceFilter withName(NamespaceFilterName name)
Specify TYPE
.
name
- Specify TYPE
.NamespaceFilterName
public List<String> getValues()
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.
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 void setValues(Collection<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.
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.
public NamespaceFilter withValues(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.
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
- 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.
public NamespaceFilter withValues(Collection<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.
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.
public void setCondition(String 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
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
FilterCondition
public String getCondition()
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
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
FilterCondition
public NamespaceFilter withCondition(String 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
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
FilterCondition
public NamespaceFilter withCondition(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
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
FilterCondition
public String toString()
toString
in class Object
Object.toString()
public NamespaceFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.