@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<Namespace> |
getNamespaces()
The list of returned namespaces.
|
String |
getNextToken()
When
nextToken is returned, there are more results available. |
int |
hashCode() |
void |
setNamespaces(Collection<Namespace> namespaces)
The list of returned namespaces.
|
void |
setNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
String |
toString()
Returns a string representation of this object.
|
ListNamespacesResult |
withNamespaces(Collection<Namespace> namespaces)
The list of returned namespaces.
|
ListNamespacesResult |
withNamespaces(Namespace... namespaces)
The list of returned namespaces.
|
ListNamespacesResult |
withNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Namespace> getNamespaces()
The list of returned namespaces.
public void setNamespaces(Collection<Namespace> namespaces)
The list of returned namespaces.
namespaces
- The list of returned namespaces.public ListNamespacesResult withNamespaces(Namespace... namespaces)
The list of returned namespaces.
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
- The list of returned namespaces.public ListNamespacesResult withNamespaces(Collection<Namespace> namespaces)
The list of returned namespaces.
namespaces
- The list of returned namespaces.public void setNextToken(String nextToken)
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
nextToken
- When nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page.public String getNextToken()
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page.public ListNamespacesResult withNextToken(String nextToken)
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
nextToken
- When nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page.public String toString()
toString
in class Object
Object.toString()
public ListNamespacesResult clone()