Class SupportedInstanceType
- java.lang.Object
-
- software.amazon.awssdk.services.emr.model.SupportedInstanceType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SupportedInstanceType.Builder,SupportedInstanceType>
@Generated("software.amazon.awssdk:codegen") public final class SupportedInstanceType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SupportedInstanceType.Builder,SupportedInstanceType>
An instance type that the specified Amazon EMR release supports.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSupportedInstanceType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarchitecture()The CPU architecture, for exampleX86_64orAARCH64.static SupportedInstanceType.Builderbuilder()BooleanebsOptimizedAvailable()Indicates whether theSupportedInstanceTypesupports Amazon EBS optimization.BooleanebsOptimizedByDefault()Indicates whether theSupportedInstanceTypeuses Amazon EBS optimization by default.BooleanebsStorageOnly()Indicates whether theSupportedInstanceTypeonly supports Amazon EBS.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceFamilyId()The Amazon EC2 family and generation for theSupportedInstanceType.Booleanis64BitsOnly()Indicates whether theSupportedInstanceTypeonly supports 64-bit architecture.FloatmemoryGB()The amount of memory that is available to Amazon EMR from theSupportedInstanceType.IntegernumberOfDisks()Number of disks for theSupportedInstanceType.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SupportedInstanceType.Builder>serializableBuilderClass()IntegerstorageGB()StorageGBrepresents the storage capacity of theSupportedInstanceType.SupportedInstanceType.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()Integervcpu()The number of vCPUs available for theSupportedInstanceType.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public final String type()
The Amazon EC2 instance type, for example
m5.xlarge, of theSupportedInstanceType.- Returns:
- The Amazon EC2 instance type, for example
m5.xlarge, of theSupportedInstanceType.
-
memoryGB
public final 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.- Returns:
- 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.
-
storageGB
public final Integer storageGB()
StorageGBrepresents the storage capacity of theSupportedInstanceType. This value is0for Amazon EBS-only instance types.- Returns:
StorageGBrepresents the storage capacity of theSupportedInstanceType. This value is0for Amazon EBS-only instance types.
-
vcpu
public final Integer vcpu()
The number of vCPUs available for the
SupportedInstanceType.- Returns:
- The number of vCPUs available for the
SupportedInstanceType.
-
is64BitsOnly
public final Boolean is64BitsOnly()
Indicates whether the
SupportedInstanceTypeonly supports 64-bit architecture.- Returns:
- Indicates whether the
SupportedInstanceTypeonly supports 64-bit architecture.
-
instanceFamilyId
public final String instanceFamilyId()
The Amazon EC2 family and generation for the
SupportedInstanceType.- Returns:
- The Amazon EC2 family and generation for the
SupportedInstanceType.
-
ebsOptimizedAvailable
public final Boolean ebsOptimizedAvailable()
Indicates whether the
SupportedInstanceTypesupports Amazon EBS optimization.- Returns:
- Indicates whether the
SupportedInstanceTypesupports Amazon EBS optimization.
-
ebsOptimizedByDefault
public final Boolean ebsOptimizedByDefault()
Indicates whether the
SupportedInstanceTypeuses Amazon EBS optimization by default.- Returns:
- Indicates whether the
SupportedInstanceTypeuses Amazon EBS optimization by default.
-
numberOfDisks
public final Integer numberOfDisks()
Number of disks for the
SupportedInstanceType. This value is0for Amazon EBS-only instance types.- Returns:
- Number of disks for the
SupportedInstanceType. This value is0for Amazon EBS-only instance types.
-
ebsStorageOnly
public final Boolean ebsStorageOnly()
Indicates whether the
SupportedInstanceTypeonly supports Amazon EBS.- Returns:
- Indicates whether the
SupportedInstanceTypeonly supports Amazon EBS.
-
architecture
public final String architecture()
The CPU architecture, for example
X86_64orAARCH64.- Returns:
- The CPU architecture, for example
X86_64orAARCH64.
-
toBuilder
public SupportedInstanceType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SupportedInstanceType.Builder,SupportedInstanceType>
-
builder
public static SupportedInstanceType.Builder builder()
-
serializableBuilderClass
public static Class<? extends SupportedInstanceType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-