public class ListAssessmentRunAgentsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<AssessmentRunAgent> |
assessmentRunAgents
A list of ARNs that specifies the agents returned by the action.
|
private java.lang.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 and Description |
---|
ListAssessmentRunAgentsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssessmentRunAgentsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<AssessmentRunAgent> |
getAssessmentRunAgents()
A list of ARNs that specifies the agents returned by the action.
|
java.lang.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(java.util.Collection<AssessmentRunAgent> assessmentRunAgents)
A list of ARNs that specifies the agents returned by the action.
|
void |
setNextToken(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAssessmentRunAgentsResult |
withAssessmentRunAgents(AssessmentRunAgent... assessmentRunAgents)
A list of ARNs that specifies the agents returned by the action.
|
ListAssessmentRunAgentsResult |
withAssessmentRunAgents(java.util.Collection<AssessmentRunAgent> assessmentRunAgents)
A list of ARNs that specifies the agents returned by the action.
|
ListAssessmentRunAgentsResult |
withNextToken(java.lang.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.
|
private java.util.List<AssessmentRunAgent> assessmentRunAgents
A list of ARNs that specifies the agents returned by the action.
private java.lang.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.
public java.util.List<AssessmentRunAgent> getAssessmentRunAgents()
A list of ARNs that specifies the agents returned by the action.
public void setAssessmentRunAgents(java.util.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(java.util.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListAssessmentRunAgentsResult clone()
clone
in class java.lang.Object