@Generated(value="software.amazon.awssdk:codegen") public final class ScalingTrigger extends Object implements StructuredPojo, ToCopyableBuilder<ScalingTrigger.Builder,ScalingTrigger>
The conditions that trigger an automatic scaling activity.
Modifier and Type | Class and Description |
---|---|
static interface |
ScalingTrigger.Builder |
Modifier and Type | Method and Description |
---|---|
static ScalingTrigger.Builder |
builder() |
CloudWatchAlarmDefinition |
cloudWatchAlarmDefinition()
The definition of a CloudWatch metric alarm.
|
boolean |
equals(Object obj) |
<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 ScalingTrigger.Builder> |
serializableBuilderClass() |
ScalingTrigger.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public CloudWatchAlarmDefinition cloudWatchAlarmDefinition()
The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.
public ScalingTrigger.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ScalingTrigger.Builder,ScalingTrigger>
public static ScalingTrigger.Builder builder()
public static Class<? extends ScalingTrigger.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.