@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SupportedInstanceType extends Object implements Serializable, Cloneable, StructuredPojo
An instance type that the specified Amazon EMR release supports.
Constructor and Description |
---|
SupportedInstanceType() |
Modifier and Type | Method and Description |
---|---|
SupportedInstanceType |
clone() |
boolean |
equals(Object obj) |
String |
getArchitecture()
The CPU architecture, for example
X86_64 or AARCH64 . |
Boolean |
getEbsOptimizedAvailable()
Indicates whether the
SupportedInstanceType supports Amazon EBS optimization. |
Boolean |
getEbsOptimizedByDefault()
Indicates whether the
SupportedInstanceType uses Amazon EBS optimization by default. |
Boolean |
getEbsStorageOnly()
Indicates whether the
SupportedInstanceType only supports Amazon EBS. |
String |
getInstanceFamilyId()
The Amazon EC2 family and generation for the
SupportedInstanceType . |
Boolean |
getIs64BitsOnly()
Indicates whether the
SupportedInstanceType only supports 64-bit architecture. |
Float |
getMemoryGB()
The amount of memory that is available to Amazon EMR from the
SupportedInstanceType . |
Integer |
getNumberOfDisks()
Number of disks for the
SupportedInstanceType . |
Integer |
getStorageGB()
StorageGB represents the storage capacity of the SupportedInstanceType . |
String |
getType()
|
Integer |
getVCPU()
The number of vCPUs available for the
SupportedInstanceType . |
int |
hashCode() |
Boolean |
is64BitsOnly()
Indicates whether the
SupportedInstanceType only supports 64-bit architecture. |
Boolean |
isEbsOptimizedAvailable()
Indicates whether the
SupportedInstanceType supports Amazon EBS optimization. |
Boolean |
isEbsOptimizedByDefault()
Indicates whether the
SupportedInstanceType uses Amazon EBS optimization by default. |
Boolean |
isEbsStorageOnly()
Indicates whether the
SupportedInstanceType only supports Amazon EBS. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArchitecture(String architecture)
The CPU architecture, for example
X86_64 or AARCH64 . |
void |
setEbsOptimizedAvailable(Boolean ebsOptimizedAvailable)
Indicates whether the
SupportedInstanceType supports Amazon EBS optimization. |
void |
setEbsOptimizedByDefault(Boolean ebsOptimizedByDefault)
Indicates whether the
SupportedInstanceType uses Amazon EBS optimization by default. |
void |
setEbsStorageOnly(Boolean ebsStorageOnly)
Indicates whether the
SupportedInstanceType only supports Amazon EBS. |
void |
setInstanceFamilyId(String instanceFamilyId)
The Amazon EC2 family and generation for the
SupportedInstanceType . |
void |
setIs64BitsOnly(Boolean is64BitsOnly)
Indicates whether the
SupportedInstanceType only supports 64-bit architecture. |
void |
setMemoryGB(Float memoryGB)
The amount of memory that is available to Amazon EMR from the
SupportedInstanceType . |
void |
setNumberOfDisks(Integer numberOfDisks)
Number of disks for the
SupportedInstanceType . |
void |
setStorageGB(Integer storageGB)
StorageGB represents the storage capacity of the SupportedInstanceType . |
void |
setType(String type)
|
void |
setVCPU(Integer vCPU)
The number of vCPUs available for the
SupportedInstanceType . |
String |
toString()
Returns a string representation of this object.
|
SupportedInstanceType |
withArchitecture(String architecture)
The CPU architecture, for example
X86_64 or AARCH64 . |
SupportedInstanceType |
withEbsOptimizedAvailable(Boolean ebsOptimizedAvailable)
Indicates whether the
SupportedInstanceType supports Amazon EBS optimization. |
SupportedInstanceType |
withEbsOptimizedByDefault(Boolean ebsOptimizedByDefault)
Indicates whether the
SupportedInstanceType uses Amazon EBS optimization by default. |
SupportedInstanceType |
withEbsStorageOnly(Boolean ebsStorageOnly)
Indicates whether the
SupportedInstanceType only supports Amazon EBS. |
SupportedInstanceType |
withInstanceFamilyId(String instanceFamilyId)
The Amazon EC2 family and generation for the
SupportedInstanceType . |
SupportedInstanceType |
withIs64BitsOnly(Boolean is64BitsOnly)
Indicates whether the
SupportedInstanceType only supports 64-bit architecture. |
SupportedInstanceType |
withMemoryGB(Float memoryGB)
The amount of memory that is available to Amazon EMR from the
SupportedInstanceType . |
SupportedInstanceType |
withNumberOfDisks(Integer numberOfDisks)
Number of disks for the
SupportedInstanceType . |
SupportedInstanceType |
withStorageGB(Integer storageGB)
StorageGB represents the storage capacity of the SupportedInstanceType . |
SupportedInstanceType |
withType(String type)
|
SupportedInstanceType |
withVCPU(Integer vCPU)
The number of vCPUs available for the
SupportedInstanceType . |
public void setType(String type)
The Amazon EC2 instance type, for example
m5.xlarge
, of the SupportedInstanceType
.
type
- The Amazon EC2 instance type, for example
m5.xlarge
, of the SupportedInstanceType
.public String getType()
The Amazon EC2 instance type, for example
m5.xlarge
, of the SupportedInstanceType
.
m5.xlarge
, of the SupportedInstanceType
.public SupportedInstanceType withType(String type)
The Amazon EC2 instance type, for example
m5.xlarge
, of the SupportedInstanceType
.
type
- The Amazon EC2 instance type, for example
m5.xlarge
, of the SupportedInstanceType
.public void setMemoryGB(Float memoryGB)
The amount of memory that is available to Amazon EMR from the SupportedInstanceType
. The kernel and
hypervisor software consume some memory, so this value might be lower than the overall memory for the instance
type.
memoryGB
- The amount of memory that is available to Amazon EMR from the SupportedInstanceType
. The
kernel and hypervisor software consume some memory, so this value might be lower than the overall memory
for the instance type.public Float getMemoryGB()
The amount of memory that is available to Amazon EMR from the SupportedInstanceType
. The kernel and
hypervisor software consume some memory, so this value might be lower than the overall memory for the instance
type.
SupportedInstanceType
. The
kernel and hypervisor software consume some memory, so this value might be lower than the overall memory
for the instance type.public SupportedInstanceType withMemoryGB(Float memoryGB)
The amount of memory that is available to Amazon EMR from the SupportedInstanceType
. The kernel and
hypervisor software consume some memory, so this value might be lower than the overall memory for the instance
type.
memoryGB
- The amount of memory that is available to Amazon EMR from the SupportedInstanceType
. The
kernel and hypervisor software consume some memory, so this value might be lower than the overall memory
for the instance type.public void setStorageGB(Integer storageGB)
StorageGB
represents the storage capacity of the SupportedInstanceType
. This value is
0
for Amazon EBS-only instance types.
storageGB
- StorageGB
represents the storage capacity of the SupportedInstanceType
. This
value is 0
for Amazon EBS-only instance types.public Integer getStorageGB()
StorageGB
represents the storage capacity of the SupportedInstanceType
. This value is
0
for Amazon EBS-only instance types.
StorageGB
represents the storage capacity of the SupportedInstanceType
. This
value is 0
for Amazon EBS-only instance types.public SupportedInstanceType withStorageGB(Integer storageGB)
StorageGB
represents the storage capacity of the SupportedInstanceType
. This value is
0
for Amazon EBS-only instance types.
storageGB
- StorageGB
represents the storage capacity of the SupportedInstanceType
. This
value is 0
for Amazon EBS-only instance types.public void setVCPU(Integer vCPU)
The number of vCPUs available for the SupportedInstanceType
.
vCPU
- The number of vCPUs available for the SupportedInstanceType
.public Integer getVCPU()
The number of vCPUs available for the SupportedInstanceType
.
SupportedInstanceType
.public SupportedInstanceType withVCPU(Integer vCPU)
The number of vCPUs available for the SupportedInstanceType
.
vCPU
- The number of vCPUs available for the SupportedInstanceType
.public void setIs64BitsOnly(Boolean is64BitsOnly)
Indicates whether the SupportedInstanceType
only supports 64-bit architecture.
is64BitsOnly
- Indicates whether the SupportedInstanceType
only supports 64-bit architecture.public Boolean getIs64BitsOnly()
Indicates whether the SupportedInstanceType
only supports 64-bit architecture.
SupportedInstanceType
only supports 64-bit architecture.public SupportedInstanceType withIs64BitsOnly(Boolean is64BitsOnly)
Indicates whether the SupportedInstanceType
only supports 64-bit architecture.
is64BitsOnly
- Indicates whether the SupportedInstanceType
only supports 64-bit architecture.public Boolean is64BitsOnly()
Indicates whether the SupportedInstanceType
only supports 64-bit architecture.
SupportedInstanceType
only supports 64-bit architecture.public void setInstanceFamilyId(String instanceFamilyId)
The Amazon EC2 family and generation for the SupportedInstanceType
.
instanceFamilyId
- The Amazon EC2 family and generation for the SupportedInstanceType
.public String getInstanceFamilyId()
The Amazon EC2 family and generation for the SupportedInstanceType
.
SupportedInstanceType
.public SupportedInstanceType withInstanceFamilyId(String instanceFamilyId)
The Amazon EC2 family and generation for the SupportedInstanceType
.
instanceFamilyId
- The Amazon EC2 family and generation for the SupportedInstanceType
.public void setEbsOptimizedAvailable(Boolean ebsOptimizedAvailable)
Indicates whether the SupportedInstanceType
supports Amazon EBS optimization.
ebsOptimizedAvailable
- Indicates whether the SupportedInstanceType
supports Amazon EBS optimization.public Boolean getEbsOptimizedAvailable()
Indicates whether the SupportedInstanceType
supports Amazon EBS optimization.
SupportedInstanceType
supports Amazon EBS optimization.public SupportedInstanceType withEbsOptimizedAvailable(Boolean ebsOptimizedAvailable)
Indicates whether the SupportedInstanceType
supports Amazon EBS optimization.
ebsOptimizedAvailable
- Indicates whether the SupportedInstanceType
supports Amazon EBS optimization.public Boolean isEbsOptimizedAvailable()
Indicates whether the SupportedInstanceType
supports Amazon EBS optimization.
SupportedInstanceType
supports Amazon EBS optimization.public void setEbsOptimizedByDefault(Boolean ebsOptimizedByDefault)
Indicates whether the SupportedInstanceType
uses Amazon EBS optimization by default.
ebsOptimizedByDefault
- Indicates whether the SupportedInstanceType
uses Amazon EBS optimization by default.public Boolean getEbsOptimizedByDefault()
Indicates whether the SupportedInstanceType
uses Amazon EBS optimization by default.
SupportedInstanceType
uses Amazon EBS optimization by default.public SupportedInstanceType withEbsOptimizedByDefault(Boolean ebsOptimizedByDefault)
Indicates whether the SupportedInstanceType
uses Amazon EBS optimization by default.
ebsOptimizedByDefault
- Indicates whether the SupportedInstanceType
uses Amazon EBS optimization by default.public Boolean isEbsOptimizedByDefault()
Indicates whether the SupportedInstanceType
uses Amazon EBS optimization by default.
SupportedInstanceType
uses Amazon EBS optimization by default.public void setNumberOfDisks(Integer numberOfDisks)
Number of disks for the SupportedInstanceType
. This value is 0
for Amazon EBS-only
instance types.
numberOfDisks
- Number of disks for the SupportedInstanceType
. This value is 0
for Amazon
EBS-only instance types.public Integer getNumberOfDisks()
Number of disks for the SupportedInstanceType
. This value is 0
for Amazon EBS-only
instance types.
SupportedInstanceType
. This value is 0
for Amazon
EBS-only instance types.public SupportedInstanceType withNumberOfDisks(Integer numberOfDisks)
Number of disks for the SupportedInstanceType
. This value is 0
for Amazon EBS-only
instance types.
numberOfDisks
- Number of disks for the SupportedInstanceType
. This value is 0
for Amazon
EBS-only instance types.public void setEbsStorageOnly(Boolean ebsStorageOnly)
Indicates whether the SupportedInstanceType
only supports Amazon EBS.
ebsStorageOnly
- Indicates whether the SupportedInstanceType
only supports Amazon EBS.public Boolean getEbsStorageOnly()
Indicates whether the SupportedInstanceType
only supports Amazon EBS.
SupportedInstanceType
only supports Amazon EBS.public SupportedInstanceType withEbsStorageOnly(Boolean ebsStorageOnly)
Indicates whether the SupportedInstanceType
only supports Amazon EBS.
ebsStorageOnly
- Indicates whether the SupportedInstanceType
only supports Amazon EBS.public Boolean isEbsStorageOnly()
Indicates whether the SupportedInstanceType
only supports Amazon EBS.
SupportedInstanceType
only supports Amazon EBS.public void setArchitecture(String architecture)
The CPU architecture, for example X86_64
or AARCH64
.
architecture
- The CPU architecture, for example X86_64
or AARCH64
.public String getArchitecture()
The CPU architecture, for example X86_64
or AARCH64
.
X86_64
or AARCH64
.public SupportedInstanceType withArchitecture(String architecture)
The CPU architecture, for example X86_64
or AARCH64
.
architecture
- The CPU architecture, for example X86_64
or AARCH64
.public String toString()
toString
in class Object
Object.toString()
public SupportedInstanceType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.