@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNamespacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListNamespacesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListNamespacesResult |
clone() |
boolean |
equals(Object obj) |
List<NamespaceSummary> |
getNamespaces()
An array that contains one
NamespaceSummary object for each namespace that matches the specified
filter criteria. |
String |
getNextToken()
If the response contains
NextToken, submit another ListNamespaces request to get the
next group of results. |
int |
hashCode() |
void |
setNamespaces(Collection<NamespaceSummary> namespaces)
An array that contains one
NamespaceSummary object for each namespace that matches the specified
filter criteria. |
void |
setNextToken(String nextToken)
If the response contains
NextToken, submit another ListNamespaces request to get the
next group of results. |
String |
toString()
Returns a string representation of this object.
|
ListNamespacesResult |
withNamespaces(Collection<NamespaceSummary> namespaces)
An array that contains one
NamespaceSummary object for each namespace that matches the specified
filter criteria. |
ListNamespacesResult |
withNamespaces(NamespaceSummary... namespaces)
An array that contains one
NamespaceSummary object for each namespace that matches the specified
filter criteria. |
ListNamespacesResult |
withNextToken(String nextToken)
If the response contains
NextToken, submit another ListNamespaces request to get the
next group of results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<NamespaceSummary> getNamespaces()
An array that contains one NamespaceSummary object for each namespace that matches the specified
filter criteria.
NamespaceSummary object for each namespace that matches the
specified filter criteria.public void setNamespaces(Collection<NamespaceSummary> namespaces)
An array that contains one NamespaceSummary object for each namespace that matches the specified
filter criteria.
namespaces - An array that contains one NamespaceSummary object for each namespace that matches the
specified filter criteria.public ListNamespacesResult withNamespaces(NamespaceSummary... namespaces)
An array that contains one NamespaceSummary object for each namespace that matches the specified
filter criteria.
NOTE: This method appends the values to the existing list (if any). Use
setNamespaces(java.util.Collection) or withNamespaces(java.util.Collection) if you want to
override the existing values.
namespaces - An array that contains one NamespaceSummary object for each namespace that matches the
specified filter criteria.public ListNamespacesResult withNamespaces(Collection<NamespaceSummary> namespaces)
An array that contains one NamespaceSummary object for each namespace that matches the specified
filter criteria.
namespaces - An array that contains one NamespaceSummary object for each namespace that matches the
specified filter criteria.public void setNextToken(String nextToken)
If the response contains NextToken, submit another ListNamespaces request to get the
next group of results. Specify the value of NextToken from the previous response in the next
request.
Cloud Map gets MaxResults namespaces and then filters them based on the specified criteria. It's
possible that no namespaces in the first MaxResults namespaces matched the specified criteria but
that subsequent groups of MaxResults namespaces do contain namespaces that match the criteria.
nextToken - If the response contains NextToken, submit another ListNamespaces request to get
the next group of results. Specify the value of NextToken from the previous response in the
next request.
Cloud Map gets MaxResults namespaces and then filters them based on the specified criteria.
It's possible that no namespaces in the first MaxResults namespaces matched the specified
criteria but that subsequent groups of MaxResults namespaces do contain namespaces that match
the criteria.
public String getNextToken()
If the response contains NextToken, submit another ListNamespaces request to get the
next group of results. Specify the value of NextToken from the previous response in the next
request.
Cloud Map gets MaxResults namespaces and then filters them based on the specified criteria. It's
possible that no namespaces in the first MaxResults namespaces matched the specified criteria but
that subsequent groups of MaxResults namespaces do contain namespaces that match the criteria.
NextToken, submit another ListNamespaces request to
get the next group of results. Specify the value of NextToken from the previous response in
the next request.
Cloud Map gets MaxResults namespaces and then filters them based on the specified criteria.
It's possible that no namespaces in the first MaxResults namespaces matched the specified
criteria but that subsequent groups of MaxResults namespaces do contain namespaces that
match the criteria.
public ListNamespacesResult withNextToken(String nextToken)
If the response contains NextToken, submit another ListNamespaces request to get the
next group of results. Specify the value of NextToken from the previous response in the next
request.
Cloud Map gets MaxResults namespaces and then filters them based on the specified criteria. It's
possible that no namespaces in the first MaxResults namespaces matched the specified criteria but
that subsequent groups of MaxResults namespaces do contain namespaces that match the criteria.
nextToken - If the response contains NextToken, submit another ListNamespaces request to get
the next group of results. Specify the value of NextToken from the previous response in the
next request.
Cloud Map gets MaxResults namespaces and then filters them based on the specified criteria.
It's possible that no namespaces in the first MaxResults namespaces matched the specified
criteria but that subsequent groups of MaxResults namespaces do contain namespaces that match
the criteria.
public String toString()
toString in class ObjectObject.toString()public ListNamespacesResult clone()