@Generated(value="software.amazon.awssdk:codegen") public class AutoRollbackConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<AutoRollbackConfiguration.Builder,AutoRollbackConfiguration>
Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment doesn't complete 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) |
List<AutoRollbackEvent> |
events()
The event type or types that trigger a rollback.
|
List<String> |
eventsStrings()
The event type or types that trigger a rollback.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends AutoRollbackConfiguration.Builder> |
serializableBuilderClass() |
AutoRollbackConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
public List<String> eventsStrings()
The event type or types that trigger a rollback.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AutoRollbackConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AutoRollbackConfiguration.Builder,AutoRollbackConfiguration>
public static AutoRollbackConfiguration.Builder builder()
public static Class<? extends AutoRollbackConfiguration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.