| Package | Description |
|---|---|
| com.amazonaws.services.opsworks.model |
Classes modeling the various types represented by AWSOpsWorks.
|
| Modifier and Type | Method and Description |
|---|---|
static AutoScalingType |
AutoScalingType.fromValue(String value)
Use this in place of valueOf.
|
static AutoScalingType |
AutoScalingType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoScalingType[] |
AutoScalingType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Instance.setAutoScalingType(AutoScalingType autoScalingType)
The instance's auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected
by auto scaling. TimeBasedAutoScaling: A time-based
auto scaling instance, which is started and stopped based on a
specified schedule. LoadBasedAutoScaling: A load-based
auto scaling instance, which is started and stopped based on load
metrics.
|
void |
UpdateInstanceRequest.setAutoScalingType(AutoScalingType autoScalingType)
The instance's auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected
by auto scaling. TimeBasedAutoScaling: A time-based
auto scaling instance, which is started and stopped based on a
specified schedule. LoadBasedAutoScaling: A load-based
auto scaling instance, which is started and stopped based on load
metrics.
|
void |
CreateInstanceRequest.setAutoScalingType(AutoScalingType autoScalingType)
The instance auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected by
auto scaling. TimeBasedAutoScaling: A time-based auto
scaling instance, which is started and stopped based on a specified
schedule.
|
Instance |
Instance.withAutoScalingType(AutoScalingType autoScalingType)
The instance's auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected
by auto scaling. TimeBasedAutoScaling: A time-based
auto scaling instance, which is started and stopped based on a
specified schedule. LoadBasedAutoScaling: A load-based
auto scaling instance, which is started and stopped based on load
metrics.
|
UpdateInstanceRequest |
UpdateInstanceRequest.withAutoScalingType(AutoScalingType autoScalingType)
The instance's auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected
by auto scaling. TimeBasedAutoScaling: A time-based
auto scaling instance, which is started and stopped based on a
specified schedule. LoadBasedAutoScaling: A load-based
auto scaling instance, which is started and stopped based on load
metrics.
|
CreateInstanceRequest |
CreateInstanceRequest.withAutoScalingType(AutoScalingType autoScalingType)
The instance auto scaling type, which has three possible values:
AlwaysRunning: A 24/7 instance, which is not affected by
auto scaling. TimeBasedAutoScaling: A time-based auto
scaling instance, which is started and stopped based on a specified
schedule.
|
Copyright © 2014. All rights reserved.