Class Rollback
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.Rollback
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Rollback.Builder,Rollback>
@Generated("software.amazon.awssdk:codegen") public final class Rollback extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Rollback.Builder,Rollback>
Information about the service deployment rollback.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRollback.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Rollback.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringreason()The reason the rollback happened.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Rollback.Builder>serializableBuilderClass()StringserviceRevisionArn()The ARN of the service revision deployed as part of the rollback.InstantstartedAt()Time time that the rollback started.Rollback.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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 physicalGPUsthe 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, thevaluematches thedeviceNamefor 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 physicalGPUsthe 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, thevaluematches thedeviceNamefor an InferenceAccelerator specified in a task definition.
-
toBuilder
public Rollback.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Rollback.Builder,Rollback>
-
builder
public static Rollback.Builder builder()
-
serializableBuilderClass
public static Class<? extends Rollback.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-