public static interface Server.Builder extends CopyableBuilder<Server.Builder,Server>
Modifier and Type | Method and Description |
---|---|
Server.Builder |
replicationJobId(String replicationJobId)
Sets the value of the ReplicationJobId property for this object.
|
Server.Builder |
replicationJobTerminated(Boolean replicationJobTerminated)
Sets the value of the ReplicationJobTerminated property for this object.
|
Server.Builder |
serverId(String serverId)
Sets the value of the ServerId property for this object.
|
Server.Builder |
serverType(ServerType serverType)
Sets the value of the ServerType property for this object.
|
Server.Builder |
serverType(String serverType)
Sets the value of the ServerType property for this object.
|
default Server.Builder |
vmServer(Consumer<VmServer.Builder> vmServer)
Sets the value of the VmServer property for this object.
|
Server.Builder |
vmServer(VmServer vmServer)
Sets the value of the VmServer property for this object.
|
copy
applyMutation, build
Server.Builder serverId(String serverId)
serverId
- The new value for the ServerId property for this object.Server.Builder serverType(String serverType)
serverType
- The new value for the ServerType property for this object.ServerType
,
ServerType
Server.Builder serverType(ServerType serverType)
serverType
- The new value for the ServerType property for this object.ServerType
,
ServerType
Server.Builder vmServer(VmServer vmServer)
vmServer
- The new value for the VmServer property for this object.default Server.Builder vmServer(Consumer<VmServer.Builder> vmServer)
VmServer.Builder
avoiding the need to create
one manually via VmServer.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to vmServer(VmServer)
.vmServer
- a consumer that will call methods on VmServer.Builder
vmServer(VmServer)
Server.Builder replicationJobId(String replicationJobId)
replicationJobId
- The new value for the ReplicationJobId property for this object.Server.Builder replicationJobTerminated(Boolean replicationJobTerminated)
replicationJobTerminated
- The new value for the ReplicationJobTerminated property for this object.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.