@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails extends Object implements Serializable, Cloneable, StructuredPojo
The minimum and maximum amount of memory, in MiB, for the accelerators on an Amazon EC2 instance.
Constructor and Description |
---|
AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails |
clone() |
boolean |
equals(Object obj) |
Integer |
getMax()
The maximum amount of memory, in MiB.
|
Integer |
getMin()
The minimum amount of memory, 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, in MiB.
|
void |
setMin(Integer min)
The minimum amount of memory, in MiB.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails |
withMax(Integer max)
The maximum amount of memory, in MiB.
|
AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails |
withMin(Integer min)
The minimum amount of memory, in MiB.
|
public AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails()
public void setMax(Integer max)
The maximum amount of memory, in MiB. If this parameter isn't specified, there's no maximum limit.
max
- The maximum amount of memory, in MiB. If this parameter isn't specified, there's no maximum limit.public Integer getMax()
The maximum amount of memory, in MiB. If this parameter isn't specified, there's no maximum limit.
public AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails withMax(Integer max)
The maximum amount of memory, in MiB. If this parameter isn't specified, there's no maximum limit.
max
- The maximum amount of memory, in MiB. If this parameter isn't specified, there's no maximum limit.public void setMin(Integer min)
The minimum amount of memory, in MiB. If 0
is specified, there's no maximum limit.
min
- The minimum amount of memory, in MiB. If 0
is specified, there's no maximum limit.public Integer getMin()
The minimum amount of memory, in MiB. If 0
is specified, there's no maximum limit.
0
is specified, there's no maximum limit.public AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails withMin(Integer min)
The minimum amount of memory, in MiB. If 0
is specified, there's no maximum limit.
min
- The minimum amount of memory, in MiB. If 0
is specified, there's no maximum limit.public String toString()
toString
in class Object
Object.toString()
public AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.