public static interface ReplicationJob.Builder extends CopyableBuilder<ReplicationJob.Builder,ReplicationJob>
Modifier and Type | Method and Description |
---|---|
ReplicationJob.Builder |
description(String description)
Sets the value of the Description property for this object.
|
ReplicationJob.Builder |
frequency(Integer frequency)
Sets the value of the Frequency property for this object.
|
ReplicationJob.Builder |
latestAmiId(String latestAmiId)
Sets the value of the LatestAmiId property for this object.
|
ReplicationJob.Builder |
licenseType(LicenseType licenseType)
Sets the value of the LicenseType property for this object.
|
ReplicationJob.Builder |
licenseType(String licenseType)
Sets the value of the LicenseType property for this object.
|
ReplicationJob.Builder |
nextReplicationRunStartTime(Instant nextReplicationRunStartTime)
Sets the value of the NextReplicationRunStartTime property for this object.
|
ReplicationJob.Builder |
replicationJobId(String replicationJobId)
Sets the value of the ReplicationJobId property for this object.
|
ReplicationJob.Builder |
replicationRunList(Collection<ReplicationRun> replicationRunList)
Sets the value of the ReplicationRunList property for this object.
|
ReplicationJob.Builder |
replicationRunList(Consumer<ReplicationRun.Builder>... replicationRunList)
Sets the value of the ReplicationRunList property for this object.
|
ReplicationJob.Builder |
replicationRunList(ReplicationRun... replicationRunList)
Sets the value of the ReplicationRunList property for this object.
|
ReplicationJob.Builder |
roleName(String roleName)
Sets the value of the RoleName property for this object.
|
ReplicationJob.Builder |
seedReplicationTime(Instant seedReplicationTime)
Sets the value of the SeedReplicationTime property for this object.
|
ReplicationJob.Builder |
serverId(String serverId)
Sets the value of the ServerId property for this object.
|
ReplicationJob.Builder |
serverType(ServerType serverType)
Sets the value of the ServerType property for this object.
|
ReplicationJob.Builder |
serverType(String serverType)
Sets the value of the ServerType property for this object.
|
ReplicationJob.Builder |
state(ReplicationJobState state)
Sets the value of the State property for this object.
|
ReplicationJob.Builder |
state(String state)
Sets the value of the State property for this object.
|
ReplicationJob.Builder |
statusMessage(String statusMessage)
Sets the value of the StatusMessage property for this object.
|
default ReplicationJob.Builder |
vmServer(Consumer<VmServer.Builder> vmServer)
Sets the value of the VmServer property for this object.
|
ReplicationJob.Builder |
vmServer(VmServer vmServer)
Sets the value of the VmServer property for this object.
|
copy
applyMutation, build
ReplicationJob.Builder replicationJobId(String replicationJobId)
replicationJobId
- The new value for the ReplicationJobId property for this object.ReplicationJob.Builder serverId(String serverId)
serverId
- The new value for the ServerId property for this object.ReplicationJob.Builder serverType(String serverType)
serverType
- The new value for the ServerType property for this object.ServerType
,
ServerType
ReplicationJob.Builder serverType(ServerType serverType)
serverType
- The new value for the ServerType property for this object.ServerType
,
ServerType
ReplicationJob.Builder vmServer(VmServer vmServer)
vmServer
- The new value for the VmServer property for this object.default ReplicationJob.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)
ReplicationJob.Builder seedReplicationTime(Instant seedReplicationTime)
seedReplicationTime
- The new value for the SeedReplicationTime property for this object.ReplicationJob.Builder frequency(Integer frequency)
frequency
- The new value for the Frequency property for this object.ReplicationJob.Builder nextReplicationRunStartTime(Instant nextReplicationRunStartTime)
nextReplicationRunStartTime
- The new value for the NextReplicationRunStartTime property for this object.ReplicationJob.Builder licenseType(String licenseType)
licenseType
- The new value for the LicenseType property for this object.LicenseType
,
LicenseType
ReplicationJob.Builder licenseType(LicenseType licenseType)
licenseType
- The new value for the LicenseType property for this object.LicenseType
,
LicenseType
ReplicationJob.Builder roleName(String roleName)
roleName
- The new value for the RoleName property for this object.ReplicationJob.Builder latestAmiId(String latestAmiId)
latestAmiId
- The new value for the LatestAmiId property for this object.ReplicationJob.Builder state(String state)
state
- The new value for the State property for this object.ReplicationJobState
,
ReplicationJobState
ReplicationJob.Builder state(ReplicationJobState state)
state
- The new value for the State property for this object.ReplicationJobState
,
ReplicationJobState
ReplicationJob.Builder statusMessage(String statusMessage)
statusMessage
- The new value for the StatusMessage property for this object.ReplicationJob.Builder description(String description)
description
- The new value for the Description property for this object.ReplicationJob.Builder replicationRunList(Collection<ReplicationRun> replicationRunList)
replicationRunList
- The new value for the ReplicationRunList property for this object.ReplicationJob.Builder replicationRunList(ReplicationRun... replicationRunList)
replicationRunList
- The new value for the ReplicationRunList property for this object.ReplicationJob.Builder replicationRunList(Consumer<ReplicationRun.Builder>... replicationRunList)
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #replicationRunList(List)
.replicationRunList
- a consumer that will call methods on List.Builder
#replicationRunList(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.