@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssessmentRunAgentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssessmentRunAgentsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssessmentRunAgentsResult |
clone() |
boolean |
equals(Object obj) |
List<AssessmentRunAgent> |
getAssessmentRunAgents()
A list of ARNs that specifies the agents 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 |
setAssessmentRunAgents(Collection<AssessmentRunAgent> assessmentRunAgents)
A list of ARNs that specifies the agents 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.
|
ListAssessmentRunAgentsResult |
withAssessmentRunAgents(AssessmentRunAgent... assessmentRunAgents)
A list of ARNs that specifies the agents returned by the action.
|
ListAssessmentRunAgentsResult |
withAssessmentRunAgents(Collection<AssessmentRunAgent> assessmentRunAgents)
A list of ARNs that specifies the agents returned by the action.
|
ListAssessmentRunAgentsResult |
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<AssessmentRunAgent> getAssessmentRunAgents()
A list of ARNs that specifies the agents returned by the action.
public void setAssessmentRunAgents(Collection<AssessmentRunAgent> assessmentRunAgents)
A list of ARNs that specifies the agents returned by the action.
assessmentRunAgents
- A list of ARNs that specifies the agents returned by the action.public ListAssessmentRunAgentsResult withAssessmentRunAgents(AssessmentRunAgent... assessmentRunAgents)
A list of ARNs that specifies the agents returned by the action.
NOTE: This method appends the values to the existing list (if any). Use
setAssessmentRunAgents(java.util.Collection)
or withAssessmentRunAgents(java.util.Collection)
if you want to override the existing values.
assessmentRunAgents
- A list of ARNs that specifies the agents returned by the action.public ListAssessmentRunAgentsResult withAssessmentRunAgents(Collection<AssessmentRunAgent> assessmentRunAgents)
A list of ARNs that specifies the agents returned by the action.
assessmentRunAgents
- A list of ARNs that specifies the agents 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 ListAssessmentRunAgentsResult 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 ListAssessmentRunAgentsResult clone()