@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 continuation token, if not all statements have yet been returned.
|
List<Statement> |
getStatements()
Returns the list of statements.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A continuation token, if not all statements have yet been returned.
|
void |
setStatements(Collection<Statement> statements)
Returns the list of statements.
|
String |
toString()
Returns a string representation of this object.
|
ListStatementsResult |
withNextToken(String nextToken)
A continuation token, if not all statements have yet been returned.
|
ListStatementsResult |
withStatements(Collection<Statement> statements)
Returns the list of statements.
|
ListStatementsResult |
withStatements(Statement... statements)
Returns the list of statements.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Statement> getStatements()
Returns the list of statements.
public void setStatements(Collection<Statement> statements)
Returns the list of statements.
statements
- Returns the list of statements.public ListStatementsResult withStatements(Statement... statements)
Returns the list of 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
- Returns the list of statements.public ListStatementsResult withStatements(Collection<Statement> statements)
Returns the list of statements.
statements
- Returns the list of statements.public void setNextToken(String nextToken)
A continuation token, if not all statements have yet been returned.
nextToken
- A continuation token, if not all statements have yet been returned.public String getNextToken()
A continuation token, if not all statements have yet been returned.
public ListStatementsResult withNextToken(String nextToken)
A continuation token, if not all statements have yet been returned.
nextToken
- A continuation token, if not all statements have yet been returned.public String toString()
toString
in class Object
Object.toString()
public ListStatementsResult clone()