Class Rollback

    • Method Detail

      • reason

        public final String reason()

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

        Returns:
        The reason the rollback happened. For example, the circuit breaker initiated the rollback operation.
      • startedAt

        public final Instant startedAt()

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

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

        public final 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.

        Returns:
        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.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)