Interface PreviewAgentsRequest.Builder

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

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

    • previewAgentsArn

      PreviewAgentsRequest.Builder previewAgentsArn(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.
    • nextToken

      PreviewAgentsRequest.Builder nextToken(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.
    • maxResults

      PreviewAgentsRequest.Builder maxResults(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.
    • overrideConfiguration

      PreviewAgentsRequest.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.