@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2ResourceUtilization extends Object implements Serializable, Cloneable, StructuredPojo
Utilization metrics of the instance.
Constructor and Description |
---|
EC2ResourceUtilization() |
Modifier and Type | Method and Description |
---|---|
EC2ResourceUtilization |
clone() |
boolean |
equals(Object obj) |
EBSResourceUtilization |
getEBSResourceUtilization()
The EBS field that contains a list of EBS metrics associated with the current instance.
|
String |
getMaxCpuUtilizationPercentage()
Maximum observed or expected CPU utilization of the instance.
|
String |
getMaxMemoryUtilizationPercentage()
Maximum observed or expected memory utilization of the instance.
|
String |
getMaxStorageUtilizationPercentage()
Maximum observed or expected storage utilization of the instance (does not measure EBS storage).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEBSResourceUtilization(EBSResourceUtilization eBSResourceUtilization)
The EBS field that contains a list of EBS metrics associated with the current instance.
|
void |
setMaxCpuUtilizationPercentage(String maxCpuUtilizationPercentage)
Maximum observed or expected CPU utilization of the instance.
|
void |
setMaxMemoryUtilizationPercentage(String maxMemoryUtilizationPercentage)
Maximum observed or expected memory utilization of the instance.
|
void |
setMaxStorageUtilizationPercentage(String maxStorageUtilizationPercentage)
Maximum observed or expected storage utilization of the instance (does not measure EBS storage).
|
String |
toString()
Returns a string representation of this object.
|
EC2ResourceUtilization |
withEBSResourceUtilization(EBSResourceUtilization eBSResourceUtilization)
The EBS field that contains a list of EBS metrics associated with the current instance.
|
EC2ResourceUtilization |
withMaxCpuUtilizationPercentage(String maxCpuUtilizationPercentage)
Maximum observed or expected CPU utilization of the instance.
|
EC2ResourceUtilization |
withMaxMemoryUtilizationPercentage(String maxMemoryUtilizationPercentage)
Maximum observed or expected memory utilization of the instance.
|
EC2ResourceUtilization |
withMaxStorageUtilizationPercentage(String maxStorageUtilizationPercentage)
Maximum observed or expected storage utilization of the instance (does not measure EBS storage).
|
public void setMaxCpuUtilizationPercentage(String maxCpuUtilizationPercentage)
Maximum observed or expected CPU utilization of the instance.
maxCpuUtilizationPercentage
- Maximum observed or expected CPU utilization of the instance.public String getMaxCpuUtilizationPercentage()
Maximum observed or expected CPU utilization of the instance.
public EC2ResourceUtilization withMaxCpuUtilizationPercentage(String maxCpuUtilizationPercentage)
Maximum observed or expected CPU utilization of the instance.
maxCpuUtilizationPercentage
- Maximum observed or expected CPU utilization of the instance.public void setMaxMemoryUtilizationPercentage(String maxMemoryUtilizationPercentage)
Maximum observed or expected memory utilization of the instance.
maxMemoryUtilizationPercentage
- Maximum observed or expected memory utilization of the instance.public String getMaxMemoryUtilizationPercentage()
Maximum observed or expected memory utilization of the instance.
public EC2ResourceUtilization withMaxMemoryUtilizationPercentage(String maxMemoryUtilizationPercentage)
Maximum observed or expected memory utilization of the instance.
maxMemoryUtilizationPercentage
- Maximum observed or expected memory utilization of the instance.public void setMaxStorageUtilizationPercentage(String maxStorageUtilizationPercentage)
Maximum observed or expected storage utilization of the instance (does not measure EBS storage).
maxStorageUtilizationPercentage
- Maximum observed or expected storage utilization of the instance (does not measure EBS storage).public String getMaxStorageUtilizationPercentage()
Maximum observed or expected storage utilization of the instance (does not measure EBS storage).
public EC2ResourceUtilization withMaxStorageUtilizationPercentage(String maxStorageUtilizationPercentage)
Maximum observed or expected storage utilization of the instance (does not measure EBS storage).
maxStorageUtilizationPercentage
- Maximum observed or expected storage utilization of the instance (does not measure EBS storage).public void setEBSResourceUtilization(EBSResourceUtilization eBSResourceUtilization)
The EBS field that contains a list of EBS metrics associated with the current instance.
eBSResourceUtilization
- The EBS field that contains a list of EBS metrics associated with the current instance.public EBSResourceUtilization getEBSResourceUtilization()
The EBS field that contains a list of EBS metrics associated with the current instance.
public EC2ResourceUtilization withEBSResourceUtilization(EBSResourceUtilization eBSResourceUtilization)
The EBS field that contains a list of EBS metrics associated with the current instance.
eBSResourceUtilization
- The EBS field that contains a list of EBS metrics associated with the current instance.public String toString()
toString
in class Object
Object.toString()
public EC2ResourceUtilization clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.