@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssessmentReportsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssessmentReportsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssessmentReportsResult |
clone() |
boolean |
equals(Object obj) |
List<AssessmentReportMetadata> |
getAssessmentReports()
The list of assessment reports that the
ListAssessmentReports API returned. |
String |
getNextToken()
The pagination token that's used to fetch the next set of results.
|
int |
hashCode() |
void |
setAssessmentReports(Collection<AssessmentReportMetadata> assessmentReports)
The list of assessment reports that the
ListAssessmentReports API returned. |
void |
setNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListAssessmentReportsResult |
withAssessmentReports(AssessmentReportMetadata... assessmentReports)
The list of assessment reports that the
ListAssessmentReports API returned. |
ListAssessmentReportsResult |
withAssessmentReports(Collection<AssessmentReportMetadata> assessmentReports)
The list of assessment reports that the
ListAssessmentReports API returned. |
ListAssessmentReportsResult |
withNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssessmentReportMetadata> getAssessmentReports()
The list of assessment reports that the ListAssessmentReports
API returned.
ListAssessmentReports
API returned.public void setAssessmentReports(Collection<AssessmentReportMetadata> assessmentReports)
The list of assessment reports that the ListAssessmentReports
API returned.
assessmentReports
- The list of assessment reports that the ListAssessmentReports
API returned.public ListAssessmentReportsResult withAssessmentReports(AssessmentReportMetadata... assessmentReports)
The list of assessment reports that the ListAssessmentReports
API returned.
NOTE: This method appends the values to the existing list (if any). Use
setAssessmentReports(java.util.Collection)
or withAssessmentReports(java.util.Collection)
if
you want to override the existing values.
assessmentReports
- The list of assessment reports that the ListAssessmentReports
API returned.public ListAssessmentReportsResult withAssessmentReports(Collection<AssessmentReportMetadata> assessmentReports)
The list of assessment reports that the ListAssessmentReports
API returned.
assessmentReports
- The list of assessment reports that the ListAssessmentReports
API returned.public void setNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
nextToken
- The pagination token that's used to fetch the next set of results.public String getNextToken()
The pagination token that's used to fetch the next set of results.
public ListAssessmentReportsResult withNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
nextToken
- The pagination token that's used to fetch the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListAssessmentReportsResult clone()