Class ListAssessmentRunAgentsResult
- java.lang.Object
-
- com.amazonaws.services.inspector.model.ListAssessmentRunAgentsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListAssessmentRunAgentsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListAssessmentRunAgentsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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; useful for testing and debugging.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.
-
-
-
Method Detail
-
getAssessmentRunAgents
public List<AssessmentRunAgent> 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
public void setAssessmentRunAgents(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.
-
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
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.
- 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
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.
- 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
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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListAssessmentRunAgentsResult clone()
-
-