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.
- Returns:
- The ARN of the service revision deployed as part of the rollback.
-
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
-
-