@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssessmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssessmentsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssessmentsResult |
clone() |
boolean |
equals(Object obj) |
List<AssessmentMetadataItem> |
getAssessmentMetadata()
The metadata that the
ListAssessments API returns for each assessment. |
String |
getNextToken()
The pagination token that's used to fetch the next set of results.
|
int |
hashCode() |
void |
setAssessmentMetadata(Collection<AssessmentMetadataItem> assessmentMetadata)
The metadata that the
ListAssessments API returns for each assessment. |
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.
|
ListAssessmentsResult |
withAssessmentMetadata(AssessmentMetadataItem... assessmentMetadata)
The metadata that the
ListAssessments API returns for each assessment. |
ListAssessmentsResult |
withAssessmentMetadata(Collection<AssessmentMetadataItem> assessmentMetadata)
The metadata that the
ListAssessments API returns for each assessment. |
ListAssessmentsResult |
withNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssessmentMetadataItem> getAssessmentMetadata()
The metadata that the ListAssessments
API returns for each assessment.
ListAssessments
API returns for each assessment.public void setAssessmentMetadata(Collection<AssessmentMetadataItem> assessmentMetadata)
The metadata that the ListAssessments
API returns for each assessment.
assessmentMetadata
- The metadata that the ListAssessments
API returns for each assessment.public ListAssessmentsResult withAssessmentMetadata(AssessmentMetadataItem... assessmentMetadata)
The metadata that the ListAssessments
API returns for each assessment.
NOTE: This method appends the values to the existing list (if any). Use
setAssessmentMetadata(java.util.Collection)
or withAssessmentMetadata(java.util.Collection)
if
you want to override the existing values.
assessmentMetadata
- The metadata that the ListAssessments
API returns for each assessment.public ListAssessmentsResult withAssessmentMetadata(Collection<AssessmentMetadataItem> assessmentMetadata)
The metadata that the ListAssessments
API returns for each assessment.
assessmentMetadata
- The metadata that the ListAssessments
API returns for each assessment.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 ListAssessmentsResult 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 ListAssessmentsResult clone()