@Generated(value="software.amazon.awssdk:codegen") public class AlarmConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<AlarmConfiguration.Builder,AlarmConfiguration>
Information about alarms associated with the deployment group.
Modifier and Type | Class and Description |
---|---|
static interface |
AlarmConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
List<Alarm> |
alarms()
A list of alarms configured for the deployment group.
|
static AlarmConfiguration.Builder |
builder() |
Boolean |
enabled()
Indicates whether the alarm configuration is enabled.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
ignorePollAlarmFailure()
Indicates whether a deployment should continue if information about the current state of alarms cannot be
retrieved from Amazon CloudWatch.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends AlarmConfiguration.Builder> |
serializableBuilderClass() |
AlarmConfiguration.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 the alarm configuration is enabled.
public Boolean ignorePollAlarmFailure()
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
public List<Alarm> alarms()
A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AlarmConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AlarmConfiguration.Builder,AlarmConfiguration>
public static AlarmConfiguration.Builder builder()
public static Class<? extends AlarmConfiguration.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.