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 Summary
Modifier and TypeMethodDescriptionassessmentTargetName(String assessmentTargetName) The user-defined name that identifies the assessment target that you want to create.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceGroupArn(String resourceGroupArn) The ARN that specifies the resource group that is used to create the assessment target.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAssessmentTargetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-