@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MaximumAllowedResources extends Object implements Serializable, Cloneable, StructuredPojo
The maximum allowed cumulative resources for an application. No new resources will be created once the limit is hit.
Constructor and Description |
---|
MaximumAllowedResources() |
Modifier and Type | Method and Description |
---|---|
MaximumAllowedResources |
clone() |
boolean |
equals(Object obj) |
String |
getCpu()
The maximum allowed CPU for an application.
|
String |
getDisk()
The maximum allowed disk for an application.
|
String |
getMemory()
The maximum allowed resources for an application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCpu(String cpu)
The maximum allowed CPU for an application.
|
void |
setDisk(String disk)
The maximum allowed disk for an application.
|
void |
setMemory(String memory)
The maximum allowed resources for an application.
|
String |
toString()
Returns a string representation of this object.
|
MaximumAllowedResources |
withCpu(String cpu)
The maximum allowed CPU for an application.
|
MaximumAllowedResources |
withDisk(String disk)
The maximum allowed disk for an application.
|
MaximumAllowedResources |
withMemory(String memory)
The maximum allowed resources for an application.
|
public void setCpu(String cpu)
The maximum allowed CPU for an application.
cpu
- The maximum allowed CPU for an application.public String getCpu()
The maximum allowed CPU for an application.
public MaximumAllowedResources withCpu(String cpu)
The maximum allowed CPU for an application.
cpu
- The maximum allowed CPU for an application.public void setMemory(String memory)
The maximum allowed resources for an application.
memory
- The maximum allowed resources for an application.public String getMemory()
The maximum allowed resources for an application.
public MaximumAllowedResources withMemory(String memory)
The maximum allowed resources for an application.
memory
- The maximum allowed resources for an application.public void setDisk(String disk)
The maximum allowed disk for an application.
disk
- The maximum allowed disk for an application.public String getDisk()
The maximum allowed disk for an application.
public MaximumAllowedResources withDisk(String disk)
The maximum allowed disk for an application.
disk
- The maximum allowed disk for an application.public String toString()
toString
in class Object
Object.toString()
public MaximumAllowedResources clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.