@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2ResourceUtilization extends Object implements Serializable, Cloneable, StructuredPojo
Utilization metrics for the instance.
Constructor and Description |
---|
EC2ResourceUtilization() |
Modifier and Type | Method and Description |
---|---|
EC2ResourceUtilization |
clone() |
boolean |
equals(Object obj) |
DiskResourceUtilization |
getDiskResourceUtilization()
The field that contains a list of disk (local storage) metrics that are associated with the current instance.
|
EBSResourceUtilization |
getEBSResourceUtilization()
The EBS field that contains a list of EBS metrics that are associated with the current instance.
|
String |
getMaxCpuUtilizationPercentage()
The maximum observed or expected CPU utilization of the instance.
|
String |
getMaxMemoryUtilizationPercentage()
The maximum observed or expected memory utilization of the instance.
|
String |
getMaxStorageUtilizationPercentage()
The maximum observed or expected storage utilization of the instance.
|
NetworkResourceUtilization |
getNetworkResourceUtilization()
The network field that contains a list of network metrics that are associated with the current instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDiskResourceUtilization(DiskResourceUtilization diskResourceUtilization)
The field that contains a list of disk (local storage) metrics that are associated with the current instance.
|
void |
setEBSResourceUtilization(EBSResourceUtilization eBSResourceUtilization)
The EBS field that contains a list of EBS metrics that are associated with the current instance.
|
void |
setMaxCpuUtilizationPercentage(String maxCpuUtilizationPercentage)
The maximum observed or expected CPU utilization of the instance.
|
void |
setMaxMemoryUtilizationPercentage(String maxMemoryUtilizationPercentage)
The maximum observed or expected memory utilization of the instance.
|
void |
setMaxStorageUtilizationPercentage(String maxStorageUtilizationPercentage)
The maximum observed or expected storage utilization of the instance.
|
void |
setNetworkResourceUtilization(NetworkResourceUtilization networkResourceUtilization)
The network field that contains a list of network metrics that are associated with the current instance.
|
String |
toString()
Returns a string representation of this object.
|
EC2ResourceUtilization |
withDiskResourceUtilization(DiskResourceUtilization diskResourceUtilization)
The field that contains a list of disk (local storage) metrics that are associated with the current instance.
|
EC2ResourceUtilization |
withEBSResourceUtilization(EBSResourceUtilization eBSResourceUtilization)
The EBS field that contains a list of EBS metrics that are associated with the current instance.
|
EC2ResourceUtilization |
withMaxCpuUtilizationPercentage(String maxCpuUtilizationPercentage)
The maximum observed or expected CPU utilization of the instance.
|
EC2ResourceUtilization |
withMaxMemoryUtilizationPercentage(String maxMemoryUtilizationPercentage)
The maximum observed or expected memory utilization of the instance.
|
EC2ResourceUtilization |
withMaxStorageUtilizationPercentage(String maxStorageUtilizationPercentage)
The maximum observed or expected storage utilization of the instance.
|
EC2ResourceUtilization |
withNetworkResourceUtilization(NetworkResourceUtilization networkResourceUtilization)
The network field that contains a list of network metrics that are associated with the current instance.
|
public void setMaxCpuUtilizationPercentage(String maxCpuUtilizationPercentage)
The maximum observed or expected CPU utilization of the instance.
maxCpuUtilizationPercentage
- The maximum observed or expected CPU utilization of the instance.public String getMaxCpuUtilizationPercentage()
The maximum observed or expected CPU utilization of the instance.
public EC2ResourceUtilization withMaxCpuUtilizationPercentage(String maxCpuUtilizationPercentage)
The maximum observed or expected CPU utilization of the instance.
maxCpuUtilizationPercentage
- The maximum observed or expected CPU utilization of the instance.public void setMaxMemoryUtilizationPercentage(String maxMemoryUtilizationPercentage)
The maximum observed or expected memory utilization of the instance.
maxMemoryUtilizationPercentage
- The maximum observed or expected memory utilization of the instance.public String getMaxMemoryUtilizationPercentage()
The maximum observed or expected memory utilization of the instance.
public EC2ResourceUtilization withMaxMemoryUtilizationPercentage(String maxMemoryUtilizationPercentage)
The maximum observed or expected memory utilization of the instance.
maxMemoryUtilizationPercentage
- The maximum observed or expected memory utilization of the instance.public void setMaxStorageUtilizationPercentage(String maxStorageUtilizationPercentage)
The maximum observed or expected storage utilization of the instance. This doesn't include EBS storage.
maxStorageUtilizationPercentage
- The maximum observed or expected storage utilization of the instance. This doesn't include EBS storage.public String getMaxStorageUtilizationPercentage()
The maximum observed or expected storage utilization of the instance. This doesn't include EBS storage.
public EC2ResourceUtilization withMaxStorageUtilizationPercentage(String maxStorageUtilizationPercentage)
The maximum observed or expected storage utilization of the instance. This doesn't include EBS storage.
maxStorageUtilizationPercentage
- The maximum observed or expected storage utilization of the instance. This doesn't include EBS storage.public void setEBSResourceUtilization(EBSResourceUtilization eBSResourceUtilization)
The EBS field that contains a list of EBS metrics that are associated with the current instance.
eBSResourceUtilization
- The EBS field that contains a list of EBS metrics that are associated with the current instance.public EBSResourceUtilization getEBSResourceUtilization()
The EBS field that contains a list of EBS metrics that are associated with the current instance.
public EC2ResourceUtilization withEBSResourceUtilization(EBSResourceUtilization eBSResourceUtilization)
The EBS field that contains a list of EBS metrics that are associated with the current instance.
eBSResourceUtilization
- The EBS field that contains a list of EBS metrics that are associated with the current instance.public void setDiskResourceUtilization(DiskResourceUtilization diskResourceUtilization)
The field that contains a list of disk (local storage) metrics that are associated with the current instance.
diskResourceUtilization
- The field that contains a list of disk (local storage) metrics that are associated with the current
instance.public DiskResourceUtilization getDiskResourceUtilization()
The field that contains a list of disk (local storage) metrics that are associated with the current instance.
public EC2ResourceUtilization withDiskResourceUtilization(DiskResourceUtilization diskResourceUtilization)
The field that contains a list of disk (local storage) metrics that are associated with the current instance.
diskResourceUtilization
- The field that contains a list of disk (local storage) metrics that are associated with the current
instance.public void setNetworkResourceUtilization(NetworkResourceUtilization networkResourceUtilization)
The network field that contains a list of network metrics that are associated with the current instance.
networkResourceUtilization
- The network field that contains a list of network metrics that are associated with the current instance.public NetworkResourceUtilization getNetworkResourceUtilization()
The network field that contains a list of network metrics that are associated with the current instance.
public EC2ResourceUtilization withNetworkResourceUtilization(NetworkResourceUtilization networkResourceUtilization)
The network field that contains a list of network metrics that are associated with the current instance.
networkResourceUtilization
- The network field that contains a list of network metrics that are 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.