Interface EcrConfigurationState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EcrConfigurationState.Builder,
,EcrConfigurationState> SdkBuilder<EcrConfigurationState.Builder,
,EcrConfigurationState> SdkPojo
- Enclosing class:
EcrConfigurationState
public static interface EcrConfigurationState.Builder
extends SdkPojo, CopyableBuilder<EcrConfigurationState.Builder,EcrConfigurationState>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EcrConfigurationState.Builder
rescanDurationState
(Consumer<EcrRescanDurationState.Builder> rescanDurationState) An object that contains details about the state of the ECR automated re-scan setting.rescanDurationState
(EcrRescanDurationState rescanDurationState) An object that contains details about the state of the ECR automated re-scan setting.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
rescanDurationState
An object that contains details about the state of the ECR automated re-scan setting.
- Parameters:
rescanDurationState
- An object that contains details about the state of the ECR automated re-scan setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rescanDurationState
default EcrConfigurationState.Builder rescanDurationState(Consumer<EcrRescanDurationState.Builder> rescanDurationState) An object that contains details about the state of the ECR automated re-scan setting.
This is a convenience method that creates an instance of theEcrRescanDurationState.Builder
avoiding the need to create one manually viaEcrRescanDurationState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torescanDurationState(EcrRescanDurationState)
.- Parameters:
rescanDurationState
- a consumer that will call methods onEcrRescanDurationState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-