Class ListAssessmentTargetsResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of ARNs that specifies the assessment targets that are returned by the action.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
setAssessmentTargetArns
(Collection<String> assessmentTargetArns) A list of ARNs that specifies the assessment targets that are 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.toString()
Returns a string representation of this object; useful for testing and debugging.withAssessmentTargetArns
(String... assessmentTargetArns) A list of ARNs that specifies the assessment targets that are returned by the action.withAssessmentTargetArns
(Collection<String> assessmentTargetArns) A list of ARNs that specifies the assessment targets that are returned by the action.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.
-
Constructor Details
-
ListAssessmentTargetsResult
public ListAssessmentTargetsResult()
-
-
Method Details
-
getAssessmentTargetArns
A list of ARNs that specifies the assessment targets that are returned by the action.
- Returns:
- A list of ARNs that specifies the assessment targets that are returned by the action.
-
setAssessmentTargetArns
A list of ARNs that specifies the assessment targets that are returned by the action.
- Parameters:
assessmentTargetArns
- A list of ARNs that specifies the assessment targets that are returned by the action.
-
withAssessmentTargetArns
A list of ARNs that specifies the assessment targets that are returned by the action.
NOTE: This method appends the values to the existing list (if any). Use
setAssessmentTargetArns(java.util.Collection)
orwithAssessmentTargetArns(java.util.Collection)
if you want to override the existing values.- Parameters:
assessmentTargetArns
- A list of ARNs that specifies the assessment targets that are returned by the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAssessmentTargetArns
public ListAssessmentTargetsResult withAssessmentTargetArns(Collection<String> assessmentTargetArns) A list of ARNs that specifies the assessment targets that are returned by the action.
- Parameters:
assessmentTargetArns
- A list of ARNs that specifies the assessment targets that are returned by the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-