public static class AutoScalingConfig.TriggerConfig extends Object implements MapWriter
MapWriter.EntryWriter| 限定符和类型 | 字段和说明 |
|---|---|
List<AutoScalingConfig.ActionConfig> |
actions
List of configured actions, never null.
|
boolean |
enabled
Enabled flag.
|
TriggerEventType |
event
Trigger event type.
|
String |
name
Trigger name.
|
Map<String,Object> |
properties
Map of additional trigger properties, never null.
|
| 构造器和说明 |
|---|
TriggerConfig(String name,
Map<String,Object> properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
AutoScalingConfig.TriggerConfig |
withEnabled(boolean enabled)
Create a copy of this config with specified enabled flag.
|
AutoScalingConfig.TriggerConfig |
withProperty(String key,
Object value)
Create a copy of this config with specified property.
|
void |
writeMap(MapWriter.EntryWriter ew) |
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _sizepublic final String name
public final TriggerEventType event
public final boolean enabled
public final List<AutoScalingConfig.ActionConfig> actions
public AutoScalingConfig.TriggerConfig withEnabled(boolean enabled)
enabled - true when enabled, false otherwise.public AutoScalingConfig.TriggerConfig withProperty(String key, Object value)
key - property namevalue - property valuepublic void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap 在接口中 MapWriterIOExceptionCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.