Class ListAssessmentTemplatesRequest

    • Constructor Detail

      • ListAssessmentTemplatesRequest

        public ListAssessmentTemplatesRequest()
    • Method Detail

      • getAssessmentTargetArns

        public List<String> getAssessmentTargetArns()

        A list of ARNs that specifies the assessment targets whose assessment templates you want to list.

        Returns:
        A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
      • setAssessmentTargetArns

        public void setAssessmentTargetArns​(Collection<String> assessmentTargetArns)

        A list of ARNs that specifies the assessment targets whose assessment templates you want to list.

        Parameters:
        assessmentTargetArns - A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
      • withAssessmentTargetArns

        public ListAssessmentTemplatesRequest withAssessmentTargetArns​(String... assessmentTargetArns)

        A list of ARNs that specifies the assessment targets whose assessment templates you want to list.

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

        Parameters:
        assessmentTargetArns - A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withAssessmentTargetArns

        public ListAssessmentTemplatesRequest withAssessmentTargetArns​(Collection<String> assessmentTargetArns)

        A list of ARNs that specifies the assessment targets whose assessment templates you want to list.

        Parameters:
        assessmentTargetArns - A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFilter

        public void setFilter​(AssessmentTemplateFilter filter)

        You can use this parameter to specify a subset of data to be included in the action's response.

        For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

        Parameters:
        filter - You can use this parameter to specify a subset of data to be included in the action's response.

        For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

      • getFilter

        public AssessmentTemplateFilter getFilter()

        You can use this parameter to specify a subset of data to be included in the action's response.

        For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

        Returns:
        You can use this parameter to specify a subset of data to be included in the action's response.

        For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

      • withFilter

        public ListAssessmentTemplatesRequest withFilter​(AssessmentTemplateFilter filter)

        You can use this parameter to specify a subset of data to be included in the action's response.

        For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

        Parameters:
        filter - You can use this parameter to specify a subset of data to be included in the action's response.

        For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

        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 ListAssessmentTemplates 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 ListAssessmentTemplates 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 ListAssessmentTemplates 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 ListAssessmentTemplates 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 ListAssessmentTemplatesRequest 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 ListAssessmentTemplates 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 ListAssessmentTemplates 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 ListAssessmentTemplatesRequest 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