@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()
Specify the operator that you want to use to determine whether a namespace matches the specified value.
|
String |
getName()
Specify the namespaces that you want to get using one of the following.
|
List<String> |
getValues()
Specify the values that are applicable to the value that you specify for
Name. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCondition(String condition)
Specify the operator that you want to use to determine whether a namespace matches the specified value.
|
void |
setName(String name)
Specify the namespaces that you want to get using one of the following.
|
void |
setValues(Collection<String> values)
Specify the values that are applicable to the value that you specify for
Name. |
String |
toString()
Returns a string representation of this object.
|
NamespaceFilter |
withCondition(FilterCondition condition)
Specify the operator that you want to use to determine whether a namespace matches the specified value.
|
NamespaceFilter |
withCondition(String condition)
Specify the operator that you want to use to determine whether a namespace matches the specified value.
|
NamespaceFilter |
withName(NamespaceFilterName name)
Specify the namespaces that you want to get using one of the following.
|
NamespaceFilter |
withName(String name)
Specify the namespaces that you want to get using one of the following.
|
NamespaceFilter |
withValues(Collection<String> values)
Specify the values that are applicable to the value that you specify for
Name. |
NamespaceFilter |
withValues(String... values)
Specify the values that are applicable to the value that you specify for
Name. |
public void setName(String name)
Specify the namespaces that you want to get using one of the following.
TYPE: Gets the namespaces of the specified type.
NAME: Gets the namespaces with the specified name.
HTTP_NAME: Gets the namespaces with the specified HTTP name.
name - Specify the namespaces that you want to get using one of the following.
TYPE: Gets the namespaces of the specified type.
NAME: Gets the namespaces with the specified name.
HTTP_NAME: Gets the namespaces with the specified HTTP name.
NamespaceFilterNamepublic String getName()
Specify the namespaces that you want to get using one of the following.
TYPE: Gets the namespaces of the specified type.
NAME: Gets the namespaces with the specified name.
HTTP_NAME: Gets the namespaces with the specified HTTP name.
TYPE: Gets the namespaces of the specified type.
NAME: Gets the namespaces with the specified name.
HTTP_NAME: Gets the namespaces with the specified HTTP name.
NamespaceFilterNamepublic NamespaceFilter withName(String name)
Specify the namespaces that you want to get using one of the following.
TYPE: Gets the namespaces of the specified type.
NAME: Gets the namespaces with the specified name.
HTTP_NAME: Gets the namespaces with the specified HTTP name.
name - Specify the namespaces that you want to get using one of the following.
TYPE: Gets the namespaces of the specified type.
NAME: Gets the namespaces with the specified name.
HTTP_NAME: Gets the namespaces with the specified HTTP name.
NamespaceFilterNamepublic NamespaceFilter withName(NamespaceFilterName name)
Specify the namespaces that you want to get using one of the following.
TYPE: Gets the namespaces of the specified type.
NAME: Gets the namespaces with the specified name.
HTTP_NAME: Gets the namespaces with the specified HTTP name.
name - Specify the namespaces that you want to get using one of the following.
TYPE: Gets the namespaces of the specified type.
NAME: Gets the namespaces with the specified name.
HTTP_NAME: Gets the namespaces with the specified HTTP name.
NamespaceFilterNamepublic List<String> getValues()
Specify the values that are applicable to the value that you specify for Name.
TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE.
NAME: Specify the name of the namespace, which is found in Namespace.Name.
HTTP_NAME: Specify the HTTP name of the namespace, which is found in
Namespace.Properties.HttpProperties.HttpName.
Name.
TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE.
NAME: Specify the name of the namespace, which is found in Namespace.Name.
HTTP_NAME: Specify the HTTP name of the namespace, which is found in
Namespace.Properties.HttpProperties.HttpName.
public void setValues(Collection<String> values)
Specify the values that are applicable to the value that you specify for Name.
TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE.
NAME: Specify the name of the namespace, which is found in Namespace.Name.
HTTP_NAME: Specify the HTTP name of the namespace, which is found in
Namespace.Properties.HttpProperties.HttpName.
values - Specify the values that are applicable to the value that you specify for Name.
TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE.
NAME: Specify the name of the namespace, which is found in Namespace.Name.
HTTP_NAME: Specify the HTTP name of the namespace, which is found in
Namespace.Properties.HttpProperties.HttpName.
public NamespaceFilter withValues(String... values)
Specify the values that are applicable to the value that you specify for Name.
TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE.
NAME: Specify the name of the namespace, which is found in Namespace.Name.
HTTP_NAME: Specify the HTTP name of the namespace, which is found in
Namespace.Properties.HttpProperties.HttpName.
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 - Specify the values that are applicable to the value that you specify for Name.
TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE.
NAME: Specify the name of the namespace, which is found in Namespace.Name.
HTTP_NAME: Specify the HTTP name of the namespace, which is found in
Namespace.Properties.HttpProperties.HttpName.
public NamespaceFilter withValues(Collection<String> values)
Specify the values that are applicable to the value that you specify for Name.
TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE.
NAME: Specify the name of the namespace, which is found in Namespace.Name.
HTTP_NAME: Specify the HTTP name of the namespace, which is found in
Namespace.Properties.HttpProperties.HttpName.
values - Specify the values that are applicable to the value that you specify for Name.
TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE.
NAME: Specify the name of the namespace, which is found in Namespace.Name.
HTTP_NAME: Specify the HTTP name of the namespace, which is found in
Namespace.Properties.HttpProperties.HttpName.
public void setCondition(String condition)
Specify the operator that you want to use to determine whether a namespace matches the specified value. Valid
values for Condition are one of the following.
EQ: When you specify EQ for Condition, you can specify only one value.
EQ is supported for TYPE, NAME, and HTTP_NAME.
EQ is the default condition and can be omitted.
BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can specify
only one value. BEGINS_WITH is supported for TYPE, NAME, and
HTTP_NAME.
condition - Specify the operator that you want to use to determine whether a namespace matches the specified value.
Valid values for Condition are one of the following.
EQ: When you specify EQ for Condition, you can specify only one
value. EQ is supported for TYPE, NAME, and HTTP_NAME.
EQ is the default condition and can be omitted.
BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can
specify only one value. BEGINS_WITH is supported for TYPE, NAME,
and HTTP_NAME.
FilterConditionpublic String getCondition()
Specify the operator that you want to use to determine whether a namespace matches the specified value. Valid
values for Condition are one of the following.
EQ: When you specify EQ for Condition, you can specify only one value.
EQ is supported for TYPE, NAME, and HTTP_NAME.
EQ is the default condition and can be omitted.
BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can specify
only one value. BEGINS_WITH is supported for TYPE, NAME, and
HTTP_NAME.
Condition are one of the following.
EQ: When you specify EQ for Condition, you can specify only one
value. EQ is supported for TYPE, NAME, and HTTP_NAME.
EQ is the default condition and can be omitted.
BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can
specify only one value. BEGINS_WITH is supported for TYPE, NAME,
and HTTP_NAME.
FilterConditionpublic NamespaceFilter withCondition(String condition)
Specify the operator that you want to use to determine whether a namespace matches the specified value. Valid
values for Condition are one of the following.
EQ: When you specify EQ for Condition, you can specify only one value.
EQ is supported for TYPE, NAME, and HTTP_NAME.
EQ is the default condition and can be omitted.
BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can specify
only one value. BEGINS_WITH is supported for TYPE, NAME, and
HTTP_NAME.
condition - Specify the operator that you want to use to determine whether a namespace matches the specified value.
Valid values for Condition are one of the following.
EQ: When you specify EQ for Condition, you can specify only one
value. EQ is supported for TYPE, NAME, and HTTP_NAME.
EQ is the default condition and can be omitted.
BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can
specify only one value. BEGINS_WITH is supported for TYPE, NAME,
and HTTP_NAME.
FilterConditionpublic NamespaceFilter withCondition(FilterCondition condition)
Specify the operator that you want to use to determine whether a namespace matches the specified value. Valid
values for Condition are one of the following.
EQ: When you specify EQ for Condition, you can specify only one value.
EQ is supported for TYPE, NAME, and HTTP_NAME.
EQ is the default condition and can be omitted.
BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can specify
only one value. BEGINS_WITH is supported for TYPE, NAME, and
HTTP_NAME.
condition - Specify the operator that you want to use to determine whether a namespace matches the specified value.
Valid values for Condition are one of the following.
EQ: When you specify EQ for Condition, you can specify only one
value. EQ is supported for TYPE, NAME, and HTTP_NAME.
EQ is the default condition and can be omitted.
BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can
specify only one value. BEGINS_WITH is supported for TYPE, NAME,
and HTTP_NAME.
FilterConditionpublic String toString()
toString in class ObjectObject.toString()public NamespaceFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.