@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.
CustomizableMetricThresholdpublic 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.
CustomizableMetricThresholdpublic 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.
CustomizableMetricThresholdpublic 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.
CustomizableMetricThresholdpublic 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
CustomizableMetricHeadroompublic 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
CustomizableMetricHeadroompublic 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
CustomizableMetricHeadroompublic 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
CustomizableMetricHeadroompublic String toString()
toString in class ObjectObject.toString()public CustomizableMetricParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.