@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()
Pagination token to request the next page of resources.
|
List<ReportSummary> |
getReports()
List of report resources.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Pagination token to request the next page of resources.
|
void |
setReports(Collection<ReportSummary> reports)
List of report resources.
|
String |
toString()
Returns a string representation of this object.
|
ListReportsResult |
withNextToken(String nextToken)
Pagination token to request the next page of resources.
|
ListReportsResult |
withReports(Collection<ReportSummary> reports)
List of report resources.
|
ListReportsResult |
withReports(ReportSummary... reports)
List of report resources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ReportSummary> getReports()
List of report resources.
public void setReports(Collection<ReportSummary> reports)
List of report resources.
reports
- List of report resources.public ListReportsResult withReports(ReportSummary... reports)
List of report resources.
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
- List of report resources.public ListReportsResult withReports(Collection<ReportSummary> reports)
List of report resources.
reports
- List of report resources.public void setNextToken(String nextToken)
Pagination token to request the next page of resources.
nextToken
- Pagination token to request the next page of resources.public String getNextToken()
Pagination token to request the next page of resources.
public ListReportsResult withNextToken(String nextToken)
Pagination token to request the next page of resources.
nextToken
- Pagination token to request the next page of resources.public String toString()
toString
in class Object
Object.toString()
public ListReportsResult clone()