Interface Server.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Server.Builder,
,Server> SdkBuilder<Server.Builder,
,Server> SdkPojo
- Enclosing class:
Server
-
Method Summary
Modifier and TypeMethodDescriptionreplicationJobId
(String replicationJobId) The ID of the replication job.replicationJobTerminated
(Boolean replicationJobTerminated) Indicates whether the replication job is deleted or failed.The ID of the server.serverType
(String serverType) The type of server.serverType
(ServerType serverType) The type of server.default Server.Builder
vmServer
(Consumer<VmServer.Builder> vmServer) Information about the VM server.Information about the VM 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
-
serverId
The ID of the server.
- Parameters:
serverId
- The ID of the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverType
The type of server.
- Parameters:
serverType
- The type of server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverType
The type of server.
- Parameters:
serverType
- The type of server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vmServer
Information about the VM server.
- Parameters:
vmServer
- Information about the VM server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmServer
Information about the VM server.
This is a convenience method that creates an instance of theVmServer.Builder
avoiding the need to create one manually viaVmServer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovmServer(VmServer)
.- Parameters:
vmServer
- a consumer that will call methods onVmServer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationJobId
The ID of the replication job.
- Parameters:
replicationJobId
- The ID of the replication job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationJobTerminated
Indicates whether the replication job is deleted or failed.
- Parameters:
replicationJobTerminated
- Indicates whether the replication job is deleted or failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-