@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceUtilization extends Object implements Serializable, Cloneable, StructuredPojo
The resource utilization for memory, storage, and vCPU for jobs.
Constructor and Description |
---|
ResourceUtilization() |
Modifier and Type | Method and Description |
---|---|
ResourceUtilization |
clone() |
boolean |
equals(Object obj) |
Double |
getMemoryGBHour()
The aggregated memory used per hour from the time the job starts executing until the job is terminated.
|
Double |
getStorageGBHour()
The aggregated storage used per hour from the time the job starts executing until the job is terminated.
|
Double |
getVCPUHour()
The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMemoryGBHour(Double memoryGBHour)
The aggregated memory used per hour from the time the job starts executing until the job is terminated.
|
void |
setStorageGBHour(Double storageGBHour)
The aggregated storage used per hour from the time the job starts executing until the job is terminated.
|
void |
setVCPUHour(Double vCPUHour)
The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.
|
String |
toString()
Returns a string representation of this object.
|
ResourceUtilization |
withMemoryGBHour(Double memoryGBHour)
The aggregated memory used per hour from the time the job starts executing until the job is terminated.
|
ResourceUtilization |
withStorageGBHour(Double storageGBHour)
The aggregated storage used per hour from the time the job starts executing until the job is terminated.
|
ResourceUtilization |
withVCPUHour(Double vCPUHour)
The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.
|
public void setVCPUHour(Double vCPUHour)
The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.
vCPUHour
- The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.public Double getVCPUHour()
The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.
public ResourceUtilization withVCPUHour(Double vCPUHour)
The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.
vCPUHour
- The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.public void setMemoryGBHour(Double memoryGBHour)
The aggregated memory used per hour from the time the job starts executing until the job is terminated.
memoryGBHour
- The aggregated memory used per hour from the time the job starts executing until the job is terminated.public Double getMemoryGBHour()
The aggregated memory used per hour from the time the job starts executing until the job is terminated.
public ResourceUtilization withMemoryGBHour(Double memoryGBHour)
The aggregated memory used per hour from the time the job starts executing until the job is terminated.
memoryGBHour
- The aggregated memory used per hour from the time the job starts executing until the job is terminated.public void setStorageGBHour(Double storageGBHour)
The aggregated storage used per hour from the time the job starts executing until the job is terminated.
storageGBHour
- The aggregated storage used per hour from the time the job starts executing until the job is terminated.public Double getStorageGBHour()
The aggregated storage used per hour from the time the job starts executing until the job is terminated.
public ResourceUtilization withStorageGBHour(Double storageGBHour)
The aggregated storage used per hour from the time the job starts executing until the job is terminated.
storageGBHour
- The aggregated storage used per hour from the time the job starts executing until the job is terminated.public String toString()
toString
in class Object
Object.toString()
public ResourceUtilization clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.