Interface LifeCycle.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LifeCycle.Builder,
,LifeCycle> SdkBuilder<LifeCycle.Builder,
,LifeCycle> SdkPojo
- Enclosing class:
LifeCycle
@Mutable
@NotThreadSafe
public static interface LifeCycle.Builder
extends SdkPojo, CopyableBuilder<LifeCycle.Builder,LifeCycle>
-
Method Summary
Modifier and TypeMethodDescriptionaddedToServiceDateTime
(String addedToServiceDateTime) The date and time of when the Source Server was added to the service.elapsedReplicationDuration
(String elapsedReplicationDuration) The amount of time that the Source Server has been replicating for.firstByteDateTime
(String firstByteDateTime) The date and time of the first byte that was replicated from the Source Server.default LifeCycle.Builder
lastLaunch
(Consumer<LifeCycleLastLaunch.Builder> lastLaunch) An object containing information regarding the last launch of the Source Server.lastLaunch
(LifeCycleLastLaunch lastLaunch) An object containing information regarding the last launch of the Source Server.lastSeenByServiceDateTime
(String lastSeenByServiceDateTime) The date and time this Source Server was last seen by the service.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, sdkFieldNameToField, sdkFields
-
Method Details
-
addedToServiceDateTime
The date and time of when the Source Server was added to the service.
- Parameters:
addedToServiceDateTime
- The date and time of when the Source Server was added to the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elapsedReplicationDuration
The amount of time that the Source Server has been replicating for.
- Parameters:
elapsedReplicationDuration
- The amount of time that the Source Server has been replicating for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstByteDateTime
The date and time of the first byte that was replicated from the Source Server.
- Parameters:
firstByteDateTime
- The date and time of the first byte that was replicated from the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastLaunch
An object containing information regarding the last launch of the Source Server.
- Parameters:
lastLaunch
- An object containing information regarding the last launch of the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastLaunch
An object containing information regarding the last launch of the Source Server.
This is a convenience method that creates an instance of theLifeCycleLastLaunch.Builder
avoiding the need to create one manually viaLifeCycleLastLaunch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastLaunch(LifeCycleLastLaunch)
.- Parameters:
lastLaunch
- a consumer that will call methods onLifeCycleLastLaunch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastSeenByServiceDateTime
The date and time this Source Server was last seen by the service.
- Parameters:
lastSeenByServiceDateTime
- The date and time this Source Server was last seen by the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-