@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStatementsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListStatementsResult() |
Modifier and Type | Method and Description |
---|---|
ListStatementsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A value that indicates the starting point for the next set of response records in a subsequent request.
|
List<StatementData> |
getStatements()
The SQL statements.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
void |
setStatements(Collection<StatementData> statements)
The SQL statements.
|
String |
toString()
Returns a string representation of this object.
|
ListStatementsResult |
withNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
ListStatementsResult |
withStatements(Collection<StatementData> statements)
The SQL statements.
|
ListStatementsResult |
withStatements(StatementData... statements)
The SQL statements.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 ListStatementsResult 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 List<StatementData> getStatements()
The SQL statements.
public void setStatements(Collection<StatementData> statements)
The SQL statements.
statements
- The SQL statements.public ListStatementsResult withStatements(StatementData... statements)
The SQL statements.
NOTE: This method appends the values to the existing list (if any). Use
setStatements(java.util.Collection)
or withStatements(java.util.Collection)
if you want to
override the existing values.
statements
- The SQL statements.public ListStatementsResult withStatements(Collection<StatementData> statements)
The SQL statements.
statements
- The SQL statements.public String toString()
toString
in class Object
Object.toString()
public ListStatementsResult clone()