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.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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:
-