@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails extends Object implements Serializable, Cloneable, StructuredPojo
The minimum and maximum amount of memory per vCPU, in GiB.
Constructor and Description |
---|
AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails |
clone() |
boolean |
equals(Object obj) |
Double |
getMax()
The maximum amount of memory per vCPU, in GiB.
|
Double |
getMin()
The minimum amount of memory per vCPU, in GiB.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMax(Double max)
The maximum amount of memory per vCPU, in GiB.
|
void |
setMin(Double min)
The minimum amount of memory per vCPU, in GiB.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails |
withMax(Double max)
The maximum amount of memory per vCPU, in GiB.
|
AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails |
withMin(Double min)
The minimum amount of memory per vCPU, in GiB.
|
public AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails()
public void setMax(Double max)
The maximum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.
max
- The maximum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.public Double getMax()
The maximum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.
public AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails withMax(Double max)
The maximum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.
max
- The maximum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.public void setMin(Double min)
The minimum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.
min
- The minimum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.public Double getMin()
The minimum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.
public AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails withMin(Double min)
The minimum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.
min
- The minimum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.public String toString()
toString
in class Object
Object.toString()
public AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.