@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDatabasesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDatabasesResult() |
Modifier and Type | Method and Description |
---|---|
GetDatabasesResult |
clone() |
boolean |
equals(Object obj) |
List<Database> |
getDatabaseList()
A list of
Database objects from the specified catalog. |
String |
getNextToken()
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is
not the last.
|
int |
hashCode() |
void |
setDatabaseList(Collection<Database> databaseList)
A list of
Database objects from the specified catalog. |
void |
setNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is
not the last.
|
String |
toString()
Returns a string representation of this object.
|
GetDatabasesResult |
withDatabaseList(Collection<Database> databaseList)
A list of
Database objects from the specified catalog. |
GetDatabasesResult |
withDatabaseList(Database... databaseList)
A list of
Database objects from the specified catalog. |
GetDatabasesResult |
withNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is
not the last.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Database> getDatabaseList()
A list of Database
objects from the specified catalog.
Database
objects from the specified catalog.public void setDatabaseList(Collection<Database> databaseList)
A list of Database
objects from the specified catalog.
databaseList
- A list of Database
objects from the specified catalog.public GetDatabasesResult withDatabaseList(Database... databaseList)
A list of Database
objects from the specified catalog.
NOTE: This method appends the values to the existing list (if any). Use
setDatabaseList(java.util.Collection)
or withDatabaseList(java.util.Collection)
if you want to
override the existing values.
databaseList
- A list of Database
objects from the specified catalog.public GetDatabasesResult withDatabaseList(Collection<Database> databaseList)
A list of Database
objects from the specified catalog.
databaseList
- A list of Database
objects from the specified catalog.public void setNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
nextToken
- A continuation token for paginating the returned list of tokens, returned if the current segment of the
list is not the last.public String getNextToken()
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
public GetDatabasesResult withNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
nextToken
- A continuation token for paginating the returned list of tokens, returned if the current segment of the
list is not the last.public String toString()
toString
in class Object
Object.toString()
public GetDatabasesResult clone()