Class ListAssessmentRunAgentsResult
- All Implemented Interfaces:
Serializable, Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA list of ARNs that specifies the agents 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.inthashCode()voidsetAssessmentRunAgents(Collection<AssessmentRunAgent> assessmentRunAgents) A list of ARNs that specifies the agents returned by the action.voidsetNextToken(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.withAssessmentRunAgents(AssessmentRunAgent... assessmentRunAgents) A list of ARNs that specifies the agents returned by the action.withAssessmentRunAgents(Collection<AssessmentRunAgent> assessmentRunAgents) A list of ARNs that specifies the agents 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
-
ListAssessmentRunAgentsResult
public ListAssessmentRunAgentsResult()
-
-
Method Details
-
getAssessmentRunAgents
A list of ARNs that specifies the agents returned by the action.
- Returns:
- A list of ARNs that specifies the agents returned by the action.
-
setAssessmentRunAgents
A list of ARNs that specifies the agents returned by the action.
- Parameters:
assessmentRunAgents- A list of ARNs that specifies the agents returned by the action.
-
withAssessmentRunAgents
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)orwithAssessmentRunAgents(java.util.Collection)if you want to override the existing values.- Parameters:
assessmentRunAgents- A list of ARNs that specifies the agents returned by the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAssessmentRunAgents
public ListAssessmentRunAgentsResult withAssessmentRunAgents(Collection<AssessmentRunAgent> assessmentRunAgents) A list of ARNs that specifies the agents returned by the action.
- Parameters:
assessmentRunAgents- A list of ARNs that specifies the agents 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
-
equals
-
hashCode
-
clone
-