Interface LifeCycle.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LifeCycle.Builder,LifeCycle>,SdkBuilder<LifeCycle.Builder,LifeCycle>,SdkPojo
- Enclosing class:
- LifeCycle
public static interface LifeCycle.Builder extends SdkPojo, CopyableBuilder<LifeCycle.Builder,LifeCycle>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LifeCycle.BuilderaddedToServiceDateTime(String addedToServiceDateTime)The date and time of when the Source Server was added to the service.LifeCycle.BuilderelapsedReplicationDuration(String elapsedReplicationDuration)The amount of time that the Source Server has been replicating for.LifeCycle.BuilderfirstByteDateTime(String firstByteDateTime)The date and time of the first byte that was replicated from the Source Server.default LifeCycle.BuilderlastLaunch(Consumer<LifeCycleLastLaunch.Builder> lastLaunch)An object containing information regarding the last launch of the Source Server.LifeCycle.BuilderlastLaunch(LifeCycleLastLaunch lastLaunch)An object containing information regarding the last launch of the Source Server.LifeCycle.BuilderlastSeenByServiceDateTime(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, sdkFields
-
-
-
-
Method Detail
-
addedToServiceDateTime
LifeCycle.Builder addedToServiceDateTime(String 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
LifeCycle.Builder elapsedReplicationDuration(String 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
LifeCycle.Builder firstByteDateTime(String 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
LifeCycle.Builder lastLaunch(LifeCycleLastLaunch 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
default LifeCycle.Builder lastLaunch(Consumer<LifeCycleLastLaunch.Builder> lastLaunch)
An object containing information regarding the last launch of the Source Server.
This is a convenience method that creates an instance of theLifeCycleLastLaunch.Builderavoiding the need to create one manually viaLifeCycleLastLaunch.builder().When the
Consumercompletes,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:
lastLaunch(LifeCycleLastLaunch)
-
lastSeenByServiceDateTime
LifeCycle.Builder lastSeenByServiceDateTime(String 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.
-
-