Interface CreateAssessmentTargetRequest.Builder

    • Method Detail

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