Interface SandboxSessionPhase.Builder

  • Method Details

    • phaseType

      SandboxSessionPhase.Builder phaseType(String phaseType)

      The name of the sandbox phase.

      Parameters:
      phaseType - The name of the sandbox phase.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • phaseStatus

      SandboxSessionPhase.Builder phaseStatus(String phaseStatus)

      The current status of the sandbox phase. Valid values include:

      FAILED

      The sandbox phase failed.

      FAULT

      The sandbox phase faulted.

      IN_PROGRESS

      The sandbox phase is still in progress.

      STOPPED

      The sandbox phase stopped.

      SUCCEEDED

      The sandbox phase succeeded.

      TIMED_OUT

      The sandbox phase timed out.

      Parameters:
      phaseStatus - The current status of the sandbox phase. Valid values include:

      FAILED

      The sandbox phase failed.

      FAULT

      The sandbox phase faulted.

      IN_PROGRESS

      The sandbox phase is still in progress.

      STOPPED

      The sandbox phase stopped.

      SUCCEEDED

      The sandbox phase succeeded.

      TIMED_OUT

      The sandbox phase timed out.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • phaseStatus

      SandboxSessionPhase.Builder phaseStatus(StatusType phaseStatus)

      The current status of the sandbox phase. Valid values include:

      FAILED

      The sandbox phase failed.

      FAULT

      The sandbox phase faulted.

      IN_PROGRESS

      The sandbox phase is still in progress.

      STOPPED

      The sandbox phase stopped.

      SUCCEEDED

      The sandbox phase succeeded.

      TIMED_OUT

      The sandbox phase timed out.

      Parameters:
      phaseStatus - The current status of the sandbox phase. Valid values include:

      FAILED

      The sandbox phase failed.

      FAULT

      The sandbox phase faulted.

      IN_PROGRESS

      The sandbox phase is still in progress.

      STOPPED

      The sandbox phase stopped.

      SUCCEEDED

      The sandbox phase succeeded.

      TIMED_OUT

      The sandbox phase timed out.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startTime

      SandboxSessionPhase.Builder startTime(Instant startTime)

      When the sandbox phase started, expressed in Unix time format.

      Parameters:
      startTime - When the sandbox phase started, expressed in Unix time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      When the sandbox phase ended, expressed in Unix time format.

      Parameters:
      endTime - When the sandbox phase ended, expressed in Unix time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • durationInSeconds

      SandboxSessionPhase.Builder durationInSeconds(Long durationInSeconds)

      How long, in seconds, between the starting and ending times of the sandbox's phase.

      Parameters:
      durationInSeconds - How long, in seconds, between the starting and ending times of the sandbox's phase.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contexts

      An array of PhaseContext objects.

      Parameters:
      contexts - An array of PhaseContext objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contexts

      An array of PhaseContext objects.

      Parameters:
      contexts - An array of PhaseContext objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contexts

      An array of PhaseContext objects.

      This is a convenience method that creates an instance of the PhaseContext.Builder avoiding the need to create one manually via PhaseContext.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to contexts(List<PhaseContext>).

      Parameters:
      contexts - a consumer that will call methods on PhaseContext.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: