Interface ExecutionServerStepConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExecutionServerStepConfiguration.Builder,,ExecutionServerStepConfiguration> SdkBuilder<ExecutionServerStepConfiguration.Builder,,ExecutionServerStepConfiguration> SdkPojo
- Enclosing class:
ExecutionServerStepConfiguration
@Mutable
@NotThreadSafe
public static interface ExecutionServerStepConfiguration.Builder
extends SdkPojo, CopyableBuilder<ExecutionServerStepConfiguration.Builder,ExecutionServerStepConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionservers(Collection<RecoveryPlanExecutionServer> servers) The list of servers in this execution step.servers(Consumer<RecoveryPlanExecutionServer.Builder>... servers) The list of servers in this execution step.servers(RecoveryPlanExecutionServer... servers) The list of servers in this execution 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
-
servers
The list of servers in this execution step.
- Parameters:
servers- The list of servers in this execution step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servers
The list of servers in this execution step.
- Parameters:
servers- The list of servers in this execution step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servers
ExecutionServerStepConfiguration.Builder servers(Consumer<RecoveryPlanExecutionServer.Builder>... servers) The list of servers in this execution step.
This is a convenience method that creates an instance of theRecoveryPlanExecutionServer.Builderavoiding the need to create one manually viaRecoveryPlanExecutionServer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toservers(List<RecoveryPlanExecutionServer>).- Parameters:
servers- a consumer that will call methods onRecoveryPlanExecutionServer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-