Interface CreateAssessmentTargetRequest.Builder

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

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

    • assessmentTargetName

      CreateAssessmentTargetRequest.Builder assessmentTargetName(String assessmentTargetName)

      The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.

      Parameters:
      assessmentTargetName - The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceGroupArn

      CreateAssessmentTargetRequest.Builder resourceGroupArn(String resourceGroupArn)

      The ARN that specifies the resource group that is used to create the assessment target. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.

      Parameters:
      resourceGroupArn - The ARN that specifies the resource group that is used to create the assessment target. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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