Interface Rollback.Builder

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

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

    • reason

      Rollback.Builder reason(String reason)

      The reason the rollback happened. For example, the circuit breaker initiated the rollback operation.

      Parameters:
      reason - The reason the rollback happened. For example, the circuit breaker initiated the rollback operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      Rollback.Builder startedAt(Instant startedAt)

      Time time that the rollback started. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.

      Parameters:
      startedAt - Time time that the rollback started. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceRevisionArn

      Rollback.Builder serviceRevisionArn(String serviceRevisionArn)

      The ARN of the service revision deployed as part of the rollback.

      When the type is GPU, the value is the number of physical GPUs the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on.

      When the type is InferenceAccelerator, the value matches the deviceName for an InferenceAccelerator specified in a task definition.

      Parameters:
      serviceRevisionArn - The ARN of the service revision deployed as part of the rollback.

      When the type is GPU, the value is the number of physical GPUs the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on.

      When the type is InferenceAccelerator, the value matches the deviceName for an InferenceAccelerator specified in a task definition.

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