@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceleratorTotalMemoryMiBRange extends Object implements Serializable, Cloneable, StructuredPojo
The range for memory, in MiB, to use for the accelerator.
Constructor and Description |
---|
AcceleratorTotalMemoryMiBRange() |
Modifier and Type | Method and Description |
---|---|
AcceleratorTotalMemoryMiBRange |
clone() |
boolean |
equals(Object obj) |
Integer |
getMax()
The maximum amount of memory to use for the accelerator, measured in MiB.
|
Integer |
getMin()
The minimum amount of memory to use for the accelerator, measured in MiB.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMax(Integer max)
The maximum amount of memory to use for the accelerator, measured in MiB.
|
void |
setMin(Integer min)
The minimum amount of memory to use for the accelerator, measured in MiB.
|
String |
toString()
Returns a string representation of this object.
|
AcceleratorTotalMemoryMiBRange |
withMax(Integer max)
The maximum amount of memory to use for the accelerator, measured in MiB.
|
AcceleratorTotalMemoryMiBRange |
withMin(Integer min)
The minimum amount of memory to use for the accelerator, measured in MiB.
|
public void setMax(Integer max)
The maximum amount of memory to use for the accelerator, measured in MiB.
max
- The maximum amount of memory to use for the accelerator, measured in MiB.public Integer getMax()
The maximum amount of memory to use for the accelerator, measured in MiB.
public AcceleratorTotalMemoryMiBRange withMax(Integer max)
The maximum amount of memory to use for the accelerator, measured in MiB.
max
- The maximum amount of memory to use for the accelerator, measured in MiB.public void setMin(Integer min)
The minimum amount of memory to use for the accelerator, measured in MiB.
min
- The minimum amount of memory to use for the accelerator, measured in MiB.public Integer getMin()
The minimum amount of memory to use for the accelerator, measured in MiB.
public AcceleratorTotalMemoryMiBRange withMin(Integer min)
The minimum amount of memory to use for the accelerator, measured in MiB.
min
- The minimum amount of memory to use for the accelerator, measured in MiB.public String toString()
toString
in class Object
Object.toString()
public AcceleratorTotalMemoryMiBRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.