@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssessmentTargetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssessmentTargetsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssessmentTargetsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAssessmentTargetArns()
A list of ARNs that specifies the assessment targets that are 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 |
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.
|
String |
toString()
Returns a string representation of this object.
|
ListAssessmentTargetsResult |
withAssessmentTargetArns(Collection<String> assessmentTargetArns)
A list of ARNs that specifies the assessment targets that are returned by the action.
|
ListAssessmentTargetsResult |
withAssessmentTargetArns(String... assessmentTargetArns)
A list of ARNs that specifies the assessment targets that are returned by the action.
|
ListAssessmentTargetsResult |
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> getAssessmentTargetArns()
A list of ARNs that specifies the assessment targets that are returned by the action.
public void setAssessmentTargetArns(Collection<String> assessmentTargetArns)
A list of ARNs that specifies the assessment targets that are returned by the action.
assessmentTargetArns
- A list of ARNs that specifies the assessment targets that are returned by the action.public ListAssessmentTargetsResult withAssessmentTargetArns(String... assessmentTargetArns)
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)
or withAssessmentTargetArns(java.util.Collection)
if you want to override the existing values.
assessmentTargetArns
- A list of ARNs that specifies the assessment targets that are returned by the action.public ListAssessmentTargetsResult withAssessmentTargetArns(Collection<String> assessmentTargetArns)
A list of ARNs that specifies the assessment targets that are returned by the action.
assessmentTargetArns
- A list of ARNs that specifies the assessment targets that are 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 ListAssessmentTargetsResult 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 ListAssessmentTargetsResult clone()