Interface ControlOperation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ControlOperation.Builder,ControlOperation>, SdkBuilder<ControlOperation.Builder,ControlOperation>, SdkPojo
Enclosing class:
ControlOperation

public static interface ControlOperation.Builder extends SdkPojo, CopyableBuilder<ControlOperation.Builder,ControlOperation>
  • Method Details

    • endTime

      The time that the operation finished.

      Parameters:
      endTime - The time that the operation finished.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operationType

      ControlOperation.Builder operationType(String operationType)

      One of ENABLE_CONTROL or DISABLE_CONTROL.

      Parameters:
      operationType - One of ENABLE_CONTROL or DISABLE_CONTROL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operationType

      ControlOperation.Builder operationType(ControlOperationType operationType)

      One of ENABLE_CONTROL or DISABLE_CONTROL.

      Parameters:
      operationType - One of ENABLE_CONTROL or DISABLE_CONTROL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startTime

      ControlOperation.Builder startTime(Instant startTime)

      The time that the operation began.

      Parameters:
      startTime - The time that the operation began.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      One of IN_PROGRESS, SUCEEDED, or FAILED.

      Parameters:
      status - One of IN_PROGRESS, SUCEEDED, or FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      One of IN_PROGRESS, SUCEEDED, or FAILED.

      Parameters:
      status - One of IN_PROGRESS, SUCEEDED, or FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      ControlOperation.Builder statusMessage(String statusMessage)

      If the operation result is FAILED, this string contains a message explaining why the operation failed.

      Parameters:
      statusMessage - If the operation result is FAILED, this string contains a message explaining why the operation failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.