Interface GetConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetConfigurationResponse.Builder,,GetConfigurationResponse> Inspector2Response.Builder,SdkBuilder<GetConfigurationResponse.Builder,,GetConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetConfigurationResponse
public static interface GetConfigurationResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<GetConfigurationResponse.Builder,GetConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetConfigurationResponse.Builderec2Configuration(Consumer<Ec2ConfigurationState.Builder> ec2Configuration) Specifies how the Amazon EC2 automated scan mode is currently configured for your environment.ec2Configuration(Ec2ConfigurationState ec2Configuration) Specifies how the Amazon EC2 automated scan mode is currently configured for your environment.default GetConfigurationResponse.BuilderecrConfiguration(Consumer<EcrConfigurationState.Builder> ecrConfiguration) Specifies how the ECR automated re-scan duration is currently configured for your environment.ecrConfiguration(EcrConfigurationState ecrConfiguration) Specifies how the ECR automated re-scan duration is currently configured for your environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ec2Configuration
Specifies how the Amazon EC2 automated scan mode is currently configured for your environment.
- Parameters:
ec2Configuration- Specifies how the Amazon EC2 automated scan mode is currently configured for your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Configuration
default GetConfigurationResponse.Builder ec2Configuration(Consumer<Ec2ConfigurationState.Builder> ec2Configuration) Specifies how the Amazon EC2 automated scan mode is currently configured for your environment.
This is a convenience method that creates an instance of theEc2ConfigurationState.Builderavoiding the need to create one manually viaEc2ConfigurationState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2Configuration(Ec2ConfigurationState).- Parameters:
ec2Configuration- a consumer that will call methods onEc2ConfigurationState.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 duration is currently configured for your environment.
- Parameters:
ecrConfiguration- Specifies how the ECR automated re-scan duration is currently configured for your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecrConfiguration
default GetConfigurationResponse.Builder ecrConfiguration(Consumer<EcrConfigurationState.Builder> ecrConfiguration) Specifies how the ECR automated re-scan duration is currently configured for your environment.
This is a convenience method that creates an instance of theEcrConfigurationState.Builderavoiding the need to create one manually viaEcrConfigurationState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecrConfiguration(EcrConfigurationState).- Parameters:
ecrConfiguration- a consumer that will call methods onEcrConfigurationState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-