Class SupportedInstanceType

    • Method Detail

      • 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()

        StorageGB represents the storage capacity of the SupportedInstanceType. This value is 0 for Amazon EBS-only instance types.

        Returns:
        StorageGB represents the storage capacity of the SupportedInstanceType. This value is 0 for 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 SupportedInstanceType only supports 64-bit architecture.

        Returns:
        Indicates whether the SupportedInstanceType only 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 SupportedInstanceType supports Amazon EBS optimization.

        Returns:
        Indicates whether the SupportedInstanceType supports Amazon EBS optimization.
      • ebsOptimizedByDefault

        public final Boolean ebsOptimizedByDefault()

        Indicates whether the SupportedInstanceType uses Amazon EBS optimization by default.

        Returns:
        Indicates whether the SupportedInstanceType uses Amazon EBS optimization by default.
      • numberOfDisks

        public final Integer numberOfDisks()

        Number of disks for the SupportedInstanceType. This value is 0 for Amazon EBS-only instance types.

        Returns:
        Number of disks for the SupportedInstanceType. This value is 0 for Amazon EBS-only instance types.
      • ebsStorageOnly

        public final Boolean ebsStorageOnly()

        Indicates whether the SupportedInstanceType only supports Amazon EBS.

        Returns:
        Indicates whether the SupportedInstanceType only supports Amazon EBS.
      • architecture

        public final String architecture()

        The CPU architecture, for example X86_64 or AARCH64.

        Returns:
        The CPU architecture, for example X86_64 or AARCH64.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)