Interface GetConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetConfigurationResponse.Builder,
,GetConfigurationResponse> Inspector2Response.Builder
,SdkBuilder<GetConfigurationResponse.Builder,
,GetConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetConfigurationResponse
@Mutable
@NotThreadSafe
public static interface GetConfigurationResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<GetConfigurationResponse.Builder,GetConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetConfigurationResponse.Builder
ec2Configuration
(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.Builder
ecrConfiguration
(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
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaEc2ConfigurationState.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaEcrConfigurationState.builder()
.When the
Consumer
completes,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:
-