@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListReportsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListReportsResult() |
Modifier and Type | Method and Description |
---|---|
ListReportsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults . |
List<String> |
getReports()
The list of returned ARNs for the reports in the current Amazon Web Services account.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults . |
void |
setReports(Collection<String> reports)
The list of returned ARNs for the reports in the current Amazon Web Services account.
|
String |
toString()
Returns a string representation of this object.
|
ListReportsResult |
withNextToken(String nextToken)
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults . |
ListReportsResult |
withReports(Collection<String> reports)
The list of returned ARNs for the reports in the current Amazon Web Services account.
|
ListReportsResult |
withReports(String... reports)
The list of returned ARNs for the reports in the current Amazon Web Services account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults
. If there more items in the list, then a unique string called a nextToken is
returned. To get the next batch of items in the list, call this operation again, adding the next token to the
call. To get all of the items in the list, keep calling this operation with each subsequent next token that is
returned, until no more next tokens are returned.
nextToken
- During a previous call, the maximum number of items that can be returned is the value specified in
maxResults
. If there more items in the list, then a unique string called a nextToken
is returned. To get the next batch of items in the list, call this operation again, adding the next token
to the call. To get all of the items in the list, keep calling this operation with each subsequent next
token that is returned, until no more next tokens are returned.public String getNextToken()
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults
. If there more items in the list, then a unique string called a nextToken is
returned. To get the next batch of items in the list, call this operation again, adding the next token to the
call. To get all of the items in the list, keep calling this operation with each subsequent next token that is
returned, until no more next tokens are returned.
maxResults
. If there more items in the list, then a unique string called a nextToken
is returned. To get the next batch of items in the list, call this operation again, adding the next token
to the call. To get all of the items in the list, keep calling this operation with each subsequent next
token that is returned, until no more next tokens are returned.public ListReportsResult withNextToken(String nextToken)
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults
. If there more items in the list, then a unique string called a nextToken is
returned. To get the next batch of items in the list, call this operation again, adding the next token to the
call. To get all of the items in the list, keep calling this operation with each subsequent next token that is
returned, until no more next tokens are returned.
nextToken
- During a previous call, the maximum number of items that can be returned is the value specified in
maxResults
. If there more items in the list, then a unique string called a nextToken
is returned. To get the next batch of items in the list, call this operation again, adding the next token
to the call. To get all of the items in the list, keep calling this operation with each subsequent next
token that is returned, until no more next tokens are returned.public List<String> getReports()
The list of returned ARNs for the reports in the current Amazon Web Services account.
public void setReports(Collection<String> reports)
The list of returned ARNs for the reports in the current Amazon Web Services account.
reports
- The list of returned ARNs for the reports in the current Amazon Web Services account.public ListReportsResult withReports(String... reports)
The list of returned ARNs for the reports in the current Amazon Web Services account.
NOTE: This method appends the values to the existing list (if any). Use
setReports(java.util.Collection)
or withReports(java.util.Collection)
if you want to override
the existing values.
reports
- The list of returned ARNs for the reports in the current Amazon Web Services account.public ListReportsResult withReports(Collection<String> reports)
The list of returned ARNs for the reports in the current Amazon Web Services account.
reports
- The list of returned ARNs for the reports in the current Amazon Web Services account.public String toString()
toString
in class Object
Object.toString()
public ListReportsResult clone()