Interface LifeCycle.Builder

  • Method Details

    • 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 the LifeCycleLastLaunch.Builder avoiding the need to create one manually via LifeCycleLastLaunch.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lastLaunch(LifeCycleLastLaunch).

      Parameters:
      lastLaunch - a consumer that will call methods on LifeCycleLastLaunch.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.