Interface RecoveryPlanStepConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecoveryPlanStepConfiguration.Builder,,RecoveryPlanStepConfiguration> SdkBuilder<RecoveryPlanStepConfiguration.Builder,,RecoveryPlanStepConfiguration> SdkPojo
- Enclosing class:
RecoveryPlanStepConfiguration
@Mutable
@NotThreadSafe
public static interface RecoveryPlanStepConfiguration.Builder
extends SdkPojo, CopyableBuilder<RecoveryPlanStepConfiguration.Builder,RecoveryPlanStepConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionserverStepConfiguration(Consumer<ServerStepConfiguration.Builder> serverStepConfiguration) Configuration for a SERVER type step.serverStepConfiguration(ServerStepConfiguration serverStepConfiguration) Configuration for a SERVER type step.waitStepConfiguration(Consumer<WaitStepConfiguration.Builder> waitStepConfiguration) Configuration for a WAIT type step.waitStepConfiguration(WaitStepConfiguration waitStepConfiguration) Configuration for a WAIT type step.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serverStepConfiguration
RecoveryPlanStepConfiguration.Builder serverStepConfiguration(ServerStepConfiguration serverStepConfiguration) Configuration for a SERVER type step.
- Parameters:
serverStepConfiguration- Configuration for a SERVER type step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverStepConfiguration
default RecoveryPlanStepConfiguration.Builder serverStepConfiguration(Consumer<ServerStepConfiguration.Builder> serverStepConfiguration) Configuration for a SERVER type step.
This is a convenience method that creates an instance of theServerStepConfiguration.Builderavoiding the need to create one manually viaServerStepConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverStepConfiguration(ServerStepConfiguration).- Parameters:
serverStepConfiguration- a consumer that will call methods onServerStepConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
waitStepConfiguration
RecoveryPlanStepConfiguration.Builder waitStepConfiguration(WaitStepConfiguration waitStepConfiguration) Configuration for a WAIT type step.
- Parameters:
waitStepConfiguration- Configuration for a WAIT type step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
waitStepConfiguration
default RecoveryPlanStepConfiguration.Builder waitStepConfiguration(Consumer<WaitStepConfiguration.Builder> waitStepConfiguration) Configuration for a WAIT type step.
This is a convenience method that creates an instance of theWaitStepConfiguration.Builderavoiding the need to create one manually viaWaitStepConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towaitStepConfiguration(WaitStepConfiguration).- Parameters:
waitStepConfiguration- a consumer that will call methods onWaitStepConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-