Interface SupportedInstanceType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SupportedInstanceType.Builder,SupportedInstanceType>,SdkBuilder<SupportedInstanceType.Builder,SupportedInstanceType>,SdkPojo
- Enclosing class:
- SupportedInstanceType
public static interface SupportedInstanceType.Builder extends SdkPojo, CopyableBuilder<SupportedInstanceType.Builder,SupportedInstanceType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SupportedInstanceType.Builderarchitecture(String architecture)The CPU architecture, for exampleX86_64orAARCH64.SupportedInstanceType.BuilderebsOptimizedAvailable(Boolean ebsOptimizedAvailable)Indicates whether theSupportedInstanceTypesupports Amazon EBS optimization.SupportedInstanceType.BuilderebsOptimizedByDefault(Boolean ebsOptimizedByDefault)Indicates whether theSupportedInstanceTypeuses Amazon EBS optimization by default.SupportedInstanceType.BuilderebsStorageOnly(Boolean ebsStorageOnly)Indicates whether theSupportedInstanceTypeonly supports Amazon EBS.SupportedInstanceType.BuilderinstanceFamilyId(String instanceFamilyId)The Amazon EC2 family and generation for theSupportedInstanceType.SupportedInstanceType.Builderis64BitsOnly(Boolean is64BitsOnly)Indicates whether theSupportedInstanceTypeonly supports 64-bit architecture.SupportedInstanceType.BuildermemoryGB(Float memoryGB)The amount of memory that is available to Amazon EMR from theSupportedInstanceType.SupportedInstanceType.BuildernumberOfDisks(Integer numberOfDisks)Number of disks for theSupportedInstanceType.SupportedInstanceType.BuilderstorageGB(Integer storageGB)StorageGBrepresents the storage capacity of theSupportedInstanceType.SupportedInstanceType.Buildertype(String type)SupportedInstanceType.Buildervcpu(Integer vcpu)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
SupportedInstanceType.Builder type(String 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
SupportedInstanceType.Builder memoryGB(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.- 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
SupportedInstanceType.Builder storageGB(Integer storageGB)
StorageGBrepresents the storage capacity of theSupportedInstanceType. This value is0for Amazon EBS-only instance types.- Parameters:
storageGB-StorageGBrepresents the storage capacity of theSupportedInstanceType. This value is0for Amazon EBS-only instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vcpu
SupportedInstanceType.Builder vcpu(Integer 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
SupportedInstanceType.Builder is64BitsOnly(Boolean is64BitsOnly)
Indicates whether the
SupportedInstanceTypeonly supports 64-bit architecture.- Parameters:
is64BitsOnly- Indicates whether theSupportedInstanceTypeonly supports 64-bit architecture.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamilyId
SupportedInstanceType.Builder instanceFamilyId(String 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
SupportedInstanceType.Builder ebsOptimizedAvailable(Boolean ebsOptimizedAvailable)
Indicates whether the
SupportedInstanceTypesupports Amazon EBS optimization.- Parameters:
ebsOptimizedAvailable- Indicates whether theSupportedInstanceTypesupports Amazon EBS optimization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsOptimizedByDefault
SupportedInstanceType.Builder ebsOptimizedByDefault(Boolean ebsOptimizedByDefault)
Indicates whether the
SupportedInstanceTypeuses Amazon EBS optimization by default.- Parameters:
ebsOptimizedByDefault- Indicates whether theSupportedInstanceTypeuses Amazon EBS optimization by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfDisks
SupportedInstanceType.Builder numberOfDisks(Integer numberOfDisks)
Number of disks for the
SupportedInstanceType. This value is0for Amazon EBS-only instance types.- Parameters:
numberOfDisks- Number of disks for theSupportedInstanceType. This value is0for Amazon EBS-only instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsStorageOnly
SupportedInstanceType.Builder ebsStorageOnly(Boolean ebsStorageOnly)
Indicates whether the
SupportedInstanceTypeonly supports Amazon EBS.- Parameters:
ebsStorageOnly- Indicates whether theSupportedInstanceTypeonly supports Amazon EBS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecture
SupportedInstanceType.Builder architecture(String architecture)
The CPU architecture, for example
X86_64orAARCH64.- Parameters:
architecture- The CPU architecture, for exampleX86_64orAARCH64.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-