@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails extends Object implements Serializable, Cloneable, StructuredPojo
The minimum and maximum amount of total local storage, in GB, that an Amazon EC2 instance uses.
| Constructor and Description |
|---|
AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails |
clone() |
boolean |
equals(Object obj) |
Double |
getMax()
The maximum amount of total local storage, in GB.
|
Double |
getMin()
The minimum amount of total local storage, in GB.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMax(Double max)
The maximum amount of total local storage, in GB.
|
void |
setMin(Double min)
The minimum amount of total local storage, in GB.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails |
withMax(Double max)
The maximum amount of total local storage, in GB.
|
AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails |
withMin(Double min)
The minimum amount of total local storage, in GB.
|
public AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails()
public void setMax(Double max)
The maximum amount of total local storage, in GB.
max - The maximum amount of total local storage, in GB.public Double getMax()
The maximum amount of total local storage, in GB.
public AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails withMax(Double max)
The maximum amount of total local storage, in GB.
max - The maximum amount of total local storage, in GB.public void setMin(Double min)
The minimum amount of total local storage, in GB.
min - The minimum amount of total local storage, in GB.public Double getMin()
The minimum amount of total local storage, in GB.
public AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails withMin(Double min)
The minimum amount of total local storage, in GB.
min - The minimum amount of total local storage, in GB.public String toString()
toString in class ObjectObject.toString()public AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.