@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssessmentTemplatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssessmentTemplatesResult() |
Modifier and Type | Method and Description |
---|---|
ListAssessmentTemplatesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAssessmentTemplateArns()
A list of ARNs that specifies the assessment templates returned by the action.
|
String |
getNextToken()
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
int |
hashCode() |
void |
setAssessmentTemplateArns(Collection<String> assessmentTemplateArns)
A list of ARNs that specifies the assessment templates returned by the action.
|
void |
setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
String |
toString()
Returns a string representation of this object.
|
ListAssessmentTemplatesResult |
withAssessmentTemplateArns(Collection<String> assessmentTemplateArns)
A list of ARNs that specifies the assessment templates returned by the action.
|
ListAssessmentTemplatesResult |
withAssessmentTemplateArns(String... assessmentTemplateArns)
A list of ARNs that specifies the assessment templates returned by the action.
|
ListAssessmentTemplatesResult |
withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getAssessmentTemplateArns()
A list of ARNs that specifies the assessment templates returned by the action.
public void setAssessmentTemplateArns(Collection<String> assessmentTemplateArns)
A list of ARNs that specifies the assessment templates returned by the action.
assessmentTemplateArns
- A list of ARNs that specifies the assessment templates returned by the action.public ListAssessmentTemplatesResult withAssessmentTemplateArns(String... assessmentTemplateArns)
A list of ARNs that specifies the assessment templates returned by the action.
NOTE: This method appends the values to the existing list (if any). Use
setAssessmentTemplateArns(java.util.Collection)
or
withAssessmentTemplateArns(java.util.Collection)
if you want to override the existing values.
assessmentTemplateArns
- A list of ARNs that specifies the assessment templates returned by the action.public ListAssessmentTemplatesResult withAssessmentTemplateArns(Collection<String> assessmentTemplateArns)
A list of ARNs that specifies the assessment templates returned by the action.
assessmentTemplateArns
- A list of ARNs that specifies the assessment templates returned by the action.public void setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed, this parameter is present in the
response and contains the value to use for the nextToken parameter in a subsequent pagination
request. If there is no more data to be listed, this parameter is set to null.public String getNextToken()
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
public ListAssessmentTemplatesResult withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed, this parameter is present in the
response and contains the value to use for the nextToken parameter in a subsequent pagination
request. If there is no more data to be listed, this parameter is set to null.public String toString()
toString
in class Object
Object.toString()
public ListAssessmentTemplatesResult clone()