Interface UpdateConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateConfigurationRequest.Builder,
,UpdateConfigurationRequest> Inspector2Request.Builder
,SdkBuilder<UpdateConfigurationRequest.Builder,
,UpdateConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateConfigurationRequest
public static interface UpdateConfigurationRequest.Builder
extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<UpdateConfigurationRequest.Builder,UpdateConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionec2Configuration
(Consumer<Ec2Configuration.Builder> ec2Configuration) Specifies how the Amazon EC2 automated scan will be updated for your environment.ec2Configuration
(Ec2Configuration ec2Configuration) Specifies how the Amazon EC2 automated scan will be updated for your environment.ecrConfiguration
(Consumer<EcrConfiguration.Builder> ecrConfiguration) Specifies how the ECR automated re-scan will be updated for your environment.ecrConfiguration
(EcrConfiguration ecrConfiguration) Specifies how the ECR automated re-scan will be updated for your environment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
ec2Configuration
Specifies how the Amazon EC2 automated scan will be updated for your environment.
- Parameters:
ec2Configuration
- Specifies how the Amazon EC2 automated scan will be updated for your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Configuration
default UpdateConfigurationRequest.Builder ec2Configuration(Consumer<Ec2Configuration.Builder> ec2Configuration) Specifies how the Amazon EC2 automated scan will be updated for your environment.
This is a convenience method that creates an instance of theEc2Configuration.Builder
avoiding the need to create one manually viaEc2Configuration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2Configuration(Ec2Configuration)
.- Parameters:
ec2Configuration
- a consumer that will call methods onEc2Configuration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ecrConfiguration
Specifies how the ECR automated re-scan will be updated for your environment.
- Parameters:
ecrConfiguration
- Specifies how the ECR automated re-scan will be updated for your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecrConfiguration
default UpdateConfigurationRequest.Builder ecrConfiguration(Consumer<EcrConfiguration.Builder> ecrConfiguration) Specifies how the ECR automated re-scan will be updated for your environment.
This is a convenience method that creates an instance of theEcrConfiguration.Builder
avoiding the need to create one manually viaEcrConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toecrConfiguration(EcrConfiguration)
.- Parameters:
ecrConfiguration
- a consumer that will call methods onEcrConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-