Class ListAssessmentRunsResult

java.lang.Object
com.amazonaws.services.inspector.model.ListAssessmentRunsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListAssessmentRunsResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • ListAssessmentRunsResult

      public ListAssessmentRunsResult()
  • Method Details

    • getAssessmentRunArns

      public List<String> getAssessmentRunArns()

      A list of ARNs that specifies the assessment runs that are returned by the action.

      Returns:
      A list of ARNs that specifies the assessment runs that are returned by the action.
    • setAssessmentRunArns

      public void setAssessmentRunArns(Collection<String> assessmentRunArns)

      A list of ARNs that specifies the assessment runs that are returned by the action.

      Parameters:
      assessmentRunArns - A list of ARNs that specifies the assessment runs that are returned by the action.
    • withAssessmentRunArns

      public ListAssessmentRunsResult withAssessmentRunArns(String... assessmentRunArns)

      A list of ARNs that specifies the assessment runs that are returned by the action.

      NOTE: This method appends the values to the existing list (if any). Use setAssessmentRunArns(java.util.Collection) or withAssessmentRunArns(java.util.Collection) if you want to override the existing values.

      Parameters:
      assessmentRunArns - A list of ARNs that specifies the assessment runs that are returned by the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withAssessmentRunArns

      public ListAssessmentRunsResult withAssessmentRunArns(Collection<String> assessmentRunArns)

      A list of ARNs that specifies the assessment runs that are returned by the action.

      Parameters:
      assessmentRunArns - A list of ARNs that specifies the assessment runs that are 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 ListAssessmentRunsResult 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListAssessmentRunsResult clone()
      Overrides:
      clone in class Object