@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDatabasesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDatabasesResult() |
Modifier and Type | Method and Description |
---|---|
ListDatabasesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDatabases()
The names of databases.
|
String |
getNextToken()
A value that indicates the starting point for the next set of response records in a subsequent request.
|
int |
hashCode() |
void |
setDatabases(Collection<String> databases)
The names of databases.
|
void |
setNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
String |
toString()
Returns a string representation of this object.
|
ListDatabasesResult |
withDatabases(Collection<String> databases)
The names of databases.
|
ListDatabasesResult |
withDatabases(String... databases)
The names of databases.
|
ListDatabasesResult |
withNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getDatabases()
The names of databases.
public void setDatabases(Collection<String> databases)
The names of databases.
databases
- The names of databases.public ListDatabasesResult withDatabases(String... databases)
The names of databases.
NOTE: This method appends the values to the existing list (if any). Use
setDatabases(java.util.Collection)
or withDatabases(java.util.Collection)
if you want to
override the existing values.
databases
- The names of databases.public ListDatabasesResult withDatabases(Collection<String> databases)
The names of databases.
databases
- The names of databases.public void setNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
nextToken
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty,
all response records have been retrieved for the request.public String getNextToken()
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
public ListDatabasesResult withNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
nextToken
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty,
all response records have been retrieved for the request.public String toString()
toString
in class Object
Object.toString()
public ListDatabasesResult clone()