@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceleratorCount extends Object implements Serializable, Cloneable
The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) on an instance.
Constructor and Description |
---|
AcceleratorCount() |
Modifier and Type | Method and Description |
---|---|
AcceleratorCount |
clone() |
boolean |
equals(Object obj) |
Integer |
getMax()
The maximum number of accelerators.
|
Integer |
getMin()
The minimum number of accelerators.
|
int |
hashCode() |
void |
setMax(Integer max)
The maximum number of accelerators.
|
void |
setMin(Integer min)
The minimum number of accelerators.
|
String |
toString()
Returns a string representation of this object.
|
AcceleratorCount |
withMax(Integer max)
The maximum number of accelerators.
|
AcceleratorCount |
withMin(Integer min)
The minimum number of accelerators.
|
public void setMin(Integer min)
The minimum number of accelerators. If this parameter is not specified, there is no minimum limit.
min
- The minimum number of accelerators. If this parameter is not specified, there is no minimum limit.public Integer getMin()
The minimum number of accelerators. If this parameter is not specified, there is no minimum limit.
public AcceleratorCount withMin(Integer min)
The minimum number of accelerators. If this parameter is not specified, there is no minimum limit.
min
- The minimum number of accelerators. If this parameter is not specified, there is no minimum limit.public void setMax(Integer max)
The maximum number of accelerators. If this parameter is not specified, there is no maximum limit.
max
- The maximum number of accelerators. If this parameter is not specified, there is no maximum limit.public Integer getMax()
The maximum number of accelerators. If this parameter is not specified, there is no maximum limit.
public AcceleratorCount withMax(Integer max)
The maximum number of accelerators. If this parameter is not specified, there is no maximum limit.
max
- The maximum number of accelerators. If this parameter is not specified, there is no maximum limit.public String toString()
toString
in class Object
Object.toString()
public AcceleratorCount clone()