@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListKeyspacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListKeyspacesResult() |
Modifier and Type | Method and Description |
---|---|
ListKeyspacesResult |
clone() |
boolean |
equals(Object obj) |
List<KeyspaceSummary> |
getKeyspaces()
A list of keyspaces.
|
String |
getNextToken()
A token to specify where to start paginating.
|
int |
hashCode() |
void |
setKeyspaces(Collection<KeyspaceSummary> keyspaces)
A list of keyspaces.
|
void |
setNextToken(String nextToken)
A token to specify where to start paginating.
|
String |
toString()
Returns a string representation of this object.
|
ListKeyspacesResult |
withKeyspaces(Collection<KeyspaceSummary> keyspaces)
A list of keyspaces.
|
ListKeyspacesResult |
withKeyspaces(KeyspaceSummary... keyspaces)
A list of keyspaces.
|
ListKeyspacesResult |
withNextToken(String nextToken)
A token to specify where to start paginating.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A token to specify where to start paginating. This is the NextToken
from a previously truncated
response.
nextToken
- A token to specify where to start paginating. This is the NextToken
from a previously
truncated response.public String getNextToken()
A token to specify where to start paginating. This is the NextToken
from a previously truncated
response.
NextToken
from a previously
truncated response.public ListKeyspacesResult withNextToken(String nextToken)
A token to specify where to start paginating. This is the NextToken
from a previously truncated
response.
nextToken
- A token to specify where to start paginating. This is the NextToken
from a previously
truncated response.public List<KeyspaceSummary> getKeyspaces()
A list of keyspaces.
public void setKeyspaces(Collection<KeyspaceSummary> keyspaces)
A list of keyspaces.
keyspaces
- A list of keyspaces.public ListKeyspacesResult withKeyspaces(KeyspaceSummary... keyspaces)
A list of keyspaces.
NOTE: This method appends the values to the existing list (if any). Use
setKeyspaces(java.util.Collection)
or withKeyspaces(java.util.Collection)
if you want to
override the existing values.
keyspaces
- A list of keyspaces.public ListKeyspacesResult withKeyspaces(Collection<KeyspaceSummary> keyspaces)
A list of keyspaces.
keyspaces
- A list of keyspaces.public String toString()
toString
in class Object
Object.toString()
public ListKeyspacesResult clone()