Interface ListAssessmentTemplatesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListAssessmentTemplatesRequest.Builder,ListAssessmentTemplatesRequest>, InspectorRequest.Builder, SdkBuilder<ListAssessmentTemplatesRequest.Builder,ListAssessmentTemplatesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListAssessmentTemplatesRequest

public static interface ListAssessmentTemplatesRequest.Builder extends InspectorRequest.Builder, SdkPojo, CopyableBuilder<ListAssessmentTemplatesRequest.Builder,ListAssessmentTemplatesRequest>
  • Method Details

    • assessmentTargetArns

      ListAssessmentTemplatesRequest.Builder assessmentTargetArns(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.
    • assessmentTargetArns

      ListAssessmentTemplatesRequest.Builder assessmentTargetArns(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.
    • 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.
    • 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.

      This is a convenience method that creates an instance of the AssessmentTemplateFilter.Builder avoiding the need to create one manually via AssessmentTemplateFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filter(AssessmentTemplateFilter).

      Parameters:
      filter - a consumer that will call methods on AssessmentTemplateFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • 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.
    • overrideConfiguration

      ListAssessmentTemplatesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.