@Generated(value="software.amazon.awssdk:codegen") public final class AutoRollbackConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoRollbackConfiguration.Builder,AutoRollbackConfiguration>
Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment is not completed successfully.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AutoRollbackConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AutoRollbackConfiguration.Builder |
builder() |
Boolean |
enabled()
Indicates whether a defined automatic rollback configuration is currently enabled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<AutoRollbackEvent> |
events()
The event type or types that trigger a rollback.
|
List<String> |
eventsAsStrings()
The event type or types that trigger a rollback.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEvents()
Returns true if the Events property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AutoRollbackConfiguration.Builder> |
serializableBuilderClass() |
AutoRollbackConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Boolean enabled()
Indicates whether a defined automatic rollback configuration is currently enabled.
public List<AutoRollbackEvent> events()
The event type or types that trigger a rollback.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEvents() to see if a value was sent in this field.
public boolean hasEvents()
public List<String> eventsAsStrings()
The event type or types that trigger a rollback.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEvents() to see if a value was sent in this field.
public AutoRollbackConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AutoRollbackConfiguration.Builder,AutoRollbackConfiguration>public static AutoRollbackConfiguration.Builder builder()
public static Class<? extends AutoRollbackConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.