@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomizableMetricParameters extends Object implements Serializable, Cloneable, StructuredPojo
Defines the various metric parameters that can be customized, such as threshold and headroom.
Constructor and Description |
---|
CustomizableMetricParameters() |
Modifier and Type | Method and Description |
---|---|
CustomizableMetricParameters |
clone() |
boolean |
equals(Object obj) |
String |
getHeadroom()
The headroom value in percentage used for the specified metric parameter.
|
String |
getThreshold()
The threshold value used for the specified metric parameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHeadroom(String headroom)
The headroom value in percentage used for the specified metric parameter.
|
void |
setThreshold(String threshold)
The threshold value used for the specified metric parameter.
|
String |
toString()
Returns a string representation of this object.
|
CustomizableMetricParameters |
withHeadroom(CustomizableMetricHeadroom headroom)
The headroom value in percentage used for the specified metric parameter.
|
CustomizableMetricParameters |
withHeadroom(String headroom)
The headroom value in percentage used for the specified metric parameter.
|
CustomizableMetricParameters |
withThreshold(CustomizableMetricThreshold threshold)
The threshold value used for the specified metric parameter.
|
CustomizableMetricParameters |
withThreshold(String threshold)
The threshold value used for the specified metric parameter.
|
public void setThreshold(String threshold)
The threshold value used for the specified metric parameter.
You can only specify the threshold value for CPU utilization.
threshold
- The threshold value used for the specified metric parameter. You can only specify the threshold value for CPU utilization.
CustomizableMetricThreshold
public String getThreshold()
The threshold value used for the specified metric parameter.
You can only specify the threshold value for CPU utilization.
You can only specify the threshold value for CPU utilization.
CustomizableMetricThreshold
public CustomizableMetricParameters withThreshold(String threshold)
The threshold value used for the specified metric parameter.
You can only specify the threshold value for CPU utilization.
threshold
- The threshold value used for the specified metric parameter. You can only specify the threshold value for CPU utilization.
CustomizableMetricThreshold
public CustomizableMetricParameters withThreshold(CustomizableMetricThreshold threshold)
The threshold value used for the specified metric parameter.
You can only specify the threshold value for CPU utilization.
threshold
- The threshold value used for the specified metric parameter. You can only specify the threshold value for CPU utilization.
CustomizableMetricThreshold
public void setHeadroom(String headroom)
The headroom value in percentage used for the specified metric parameter.
The following lists the valid values for CPU and memory utilization.
CPU utilization: PERCENT_30 | PERCENT_20 | PERCENT_0
Memory utilization: PERCENT_30 | PERCENT_20 | PERCENT_10
headroom
- The headroom value in percentage used for the specified metric parameter.
The following lists the valid values for CPU and memory utilization.
CPU utilization: PERCENT_30 | PERCENT_20 | PERCENT_0
Memory utilization: PERCENT_30 | PERCENT_20 | PERCENT_10
CustomizableMetricHeadroom
public String getHeadroom()
The headroom value in percentage used for the specified metric parameter.
The following lists the valid values for CPU and memory utilization.
CPU utilization: PERCENT_30 | PERCENT_20 | PERCENT_0
Memory utilization: PERCENT_30 | PERCENT_20 | PERCENT_10
The following lists the valid values for CPU and memory utilization.
CPU utilization: PERCENT_30 | PERCENT_20 | PERCENT_0
Memory utilization: PERCENT_30 | PERCENT_20 | PERCENT_10
CustomizableMetricHeadroom
public CustomizableMetricParameters withHeadroom(String headroom)
The headroom value in percentage used for the specified metric parameter.
The following lists the valid values for CPU and memory utilization.
CPU utilization: PERCENT_30 | PERCENT_20 | PERCENT_0
Memory utilization: PERCENT_30 | PERCENT_20 | PERCENT_10
headroom
- The headroom value in percentage used for the specified metric parameter.
The following lists the valid values for CPU and memory utilization.
CPU utilization: PERCENT_30 | PERCENT_20 | PERCENT_0
Memory utilization: PERCENT_30 | PERCENT_20 | PERCENT_10
CustomizableMetricHeadroom
public CustomizableMetricParameters withHeadroom(CustomizableMetricHeadroom headroom)
The headroom value in percentage used for the specified metric parameter.
The following lists the valid values for CPU and memory utilization.
CPU utilization: PERCENT_30 | PERCENT_20 | PERCENT_0
Memory utilization: PERCENT_30 | PERCENT_20 | PERCENT_10
headroom
- The headroom value in percentage used for the specified metric parameter.
The following lists the valid values for CPU and memory utilization.
CPU utilization: PERCENT_30 | PERCENT_20 | PERCENT_0
Memory utilization: PERCENT_30 | PERCENT_20 | PERCENT_10
CustomizableMetricHeadroom
public String toString()
toString
in class Object
Object.toString()
public CustomizableMetricParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.