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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetConfigurationResponse.BuilderecrConfiguration(Consumer<EcrConfigurationState.Builder> ecrConfiguration)Specifies how the ECR automated re-scan duration is currently configured for your environment.GetConfigurationResponse.BuilderecrConfiguration(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 Detail
-
ecrConfiguration
GetConfigurationResponse.Builder ecrConfiguration(EcrConfigurationState 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:
ecrConfiguration(EcrConfigurationState)
-
-