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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.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
-
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.Builderavoiding the need to create one manually viaEc2Configuration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEcrConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-