Interface SupportedInstanceType.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SupportedInstanceType.Builder,
,SupportedInstanceType> SdkBuilder<SupportedInstanceType.Builder,
,SupportedInstanceType> SdkPojo
- Enclosing class:
SupportedInstanceType
-
Method Summary
Modifier and TypeMethodDescriptionarchitecture
(String architecture) The CPU architecture, for exampleX86_64
orAARCH64
.ebsOptimizedAvailable
(Boolean ebsOptimizedAvailable) Indicates whether theSupportedInstanceType
supports Amazon EBS optimization.ebsOptimizedByDefault
(Boolean ebsOptimizedByDefault) Indicates whether theSupportedInstanceType
uses Amazon EBS optimization by default.ebsStorageOnly
(Boolean ebsStorageOnly) Indicates whether theSupportedInstanceType
only supports Amazon EBS.instanceFamilyId
(String instanceFamilyId) The Amazon EC2 family and generation for theSupportedInstanceType
.is64BitsOnly
(Boolean is64BitsOnly) Indicates whether theSupportedInstanceType
only supports 64-bit architecture.The amount of memory that is available to Amazon EMR from theSupportedInstanceType
.numberOfDisks
(Integer numberOfDisks) Number of disks for theSupportedInstanceType
.StorageGB
represents the storage capacity of theSupportedInstanceType
.The number of vCPUs available for theSupportedInstanceType
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
type
The Amazon EC2 instance type, for example
m5.xlarge
, of theSupportedInstanceType
.- Parameters:
type
- The Amazon EC2 instance type, for examplem5.xlarge
, of theSupportedInstanceType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
memoryGB
- The amount of memory that is available to Amazon EMR from theSupportedInstanceType
. The kernel and hypervisor software consume some memory, so this value might be lower than the overall memory for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageGB
StorageGB
represents the storage capacity of theSupportedInstanceType
. This value is0
for Amazon EBS-only instance types.- Parameters:
storageGB
-StorageGB
represents the storage capacity of theSupportedInstanceType
. This value is0
for Amazon EBS-only instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vcpu
The number of vCPUs available for the
SupportedInstanceType
.- Parameters:
vcpu
- The number of vCPUs available for theSupportedInstanceType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
is64BitsOnly
Indicates whether the
SupportedInstanceType
only supports 64-bit architecture.- Parameters:
is64BitsOnly
- Indicates whether theSupportedInstanceType
only supports 64-bit architecture.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamilyId
The Amazon EC2 family and generation for the
SupportedInstanceType
.- Parameters:
instanceFamilyId
- The Amazon EC2 family and generation for theSupportedInstanceType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsOptimizedAvailable
Indicates whether the
SupportedInstanceType
supports Amazon EBS optimization.- Parameters:
ebsOptimizedAvailable
- Indicates whether theSupportedInstanceType
supports Amazon EBS optimization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsOptimizedByDefault
Indicates whether the
SupportedInstanceType
uses Amazon EBS optimization by default.- Parameters:
ebsOptimizedByDefault
- Indicates whether theSupportedInstanceType
uses Amazon EBS optimization by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfDisks
Number of disks for the
SupportedInstanceType
. This value is0
for Amazon EBS-only instance types.- Parameters:
numberOfDisks
- Number of disks for theSupportedInstanceType
. This value is0
for Amazon EBS-only instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsStorageOnly
Indicates whether the
SupportedInstanceType
only supports Amazon EBS.- Parameters:
ebsStorageOnly
- Indicates whether theSupportedInstanceType
only supports Amazon EBS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecture
The CPU architecture, for example
X86_64
orAARCH64
.- Parameters:
architecture
- The CPU architecture, for exampleX86_64
orAARCH64
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-