Class PreviewAgentsRequest

    • Constructor Detail

      • PreviewAgentsRequest

        public PreviewAgentsRequest()
    • Method Detail

      • setPreviewAgentsArn

        public void setPreviewAgentsArn​(String previewAgentsArn)

        The ARN of the assessment target whose agents you want to preview.

        Parameters:
        previewAgentsArn - The ARN of the assessment target whose agents you want to preview.
      • getPreviewAgentsArn

        public String getPreviewAgentsArn()

        The ARN of the assessment target whose agents you want to preview.

        Returns:
        The ARN of the assessment target whose agents you want to preview.
      • withPreviewAgentsArn

        public PreviewAgentsRequest withPreviewAgentsArn​(String previewAgentsArn)

        The ARN of the assessment target whose agents you want to preview.

        Parameters:
        previewAgentsArn - The ARN of the assessment target whose agents you want to preview.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

        Parameters:
        nextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
      • getNextToken

        public String getNextToken()

        You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

        Returns:
        You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
      • withNextToken

        public PreviewAgentsRequest withNextToken​(String nextToken)

        You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

        Parameters:
        nextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaxResults

        public void setMaxResults​(Integer maxResults)

        You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.

        Parameters:
        maxResults - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
      • getMaxResults

        public Integer getMaxResults()

        You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.

        Returns:
        You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
      • withMaxResults

        public PreviewAgentsRequest withMaxResults​(Integer maxResults)

        You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.

        Parameters:
        maxResults - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object