Interface ServerReplicationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServerReplicationConfiguration.Builder,
,ServerReplicationConfiguration> SdkBuilder<ServerReplicationConfiguration.Builder,
,ServerReplicationConfiguration> SdkPojo
- Enclosing class:
ServerReplicationConfiguration
public static interface ServerReplicationConfiguration.Builder
extends SdkPojo, CopyableBuilder<ServerReplicationConfiguration.Builder,ServerReplicationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionserver
(Consumer<Server.Builder> server) The ID of the server with which this replication configuration is associated.The ID of the server with which this replication configuration is associated.serverReplicationParameters
(Consumer<ServerReplicationParameters.Builder> serverReplicationParameters) The parameters for replicating the server.serverReplicationParameters
(ServerReplicationParameters serverReplicationParameters) The parameters for replicating the server.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
-
server
The ID of the server with which this replication configuration is associated.
- Parameters:
server
- The ID of the server with which this replication configuration is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
server
The ID of the server with which this replication configuration is associated.
This is a convenience method that creates an instance of theServer.Builder
avoiding the need to create one manually viaServer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserver(Server)
.- Parameters:
server
- a consumer that will call methods onServer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverReplicationParameters
ServerReplicationConfiguration.Builder serverReplicationParameters(ServerReplicationParameters serverReplicationParameters) The parameters for replicating the server.
- Parameters:
serverReplicationParameters
- The parameters for replicating the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverReplicationParameters
default ServerReplicationConfiguration.Builder serverReplicationParameters(Consumer<ServerReplicationParameters.Builder> serverReplicationParameters) The parameters for replicating the server.
This is a convenience method that creates an instance of theServerReplicationParameters.Builder
avoiding the need to create one manually viaServerReplicationParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserverReplicationParameters(ServerReplicationParameters)
.- Parameters:
serverReplicationParameters
- a consumer that will call methods onServerReplicationParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-