Interface SupportedInstanceType.Builder

    • Method Detail

      • 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 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:
        Returns a reference to this object so that method calls can be chained together.
      • storageGB

        SupportedInstanceType.Builder storageGB​(Integer storageGB)

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

        Parameters:
        storageGB - StorageGB represents the storage capacity of the SupportedInstanceType. This value is 0 for 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 the SupportedInstanceType.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • is64BitsOnly

        SupportedInstanceType.Builder is64BitsOnly​(Boolean is64BitsOnly)

        Indicates whether the SupportedInstanceType only supports 64-bit architecture.

        Parameters:
        is64BitsOnly - Indicates whether the SupportedInstanceType only 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 the SupportedInstanceType.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ebsOptimizedAvailable

        SupportedInstanceType.Builder ebsOptimizedAvailable​(Boolean ebsOptimizedAvailable)

        Indicates whether the SupportedInstanceType supports Amazon EBS optimization.

        Parameters:
        ebsOptimizedAvailable - Indicates whether the SupportedInstanceType supports 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 SupportedInstanceType uses Amazon EBS optimization by default.

        Parameters:
        ebsOptimizedByDefault - Indicates whether the SupportedInstanceType uses 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 is 0 for Amazon EBS-only instance types.

        Parameters:
        numberOfDisks - Number of disks for the SupportedInstanceType. This value is 0 for 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 SupportedInstanceType only supports Amazon EBS.

        Parameters:
        ebsStorageOnly - Indicates whether the SupportedInstanceType only 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_64 or AARCH64.

        Parameters:
        architecture - The CPU architecture, for example X86_64 or AARCH64.
        Returns:
        Returns a reference to this object so that method calls can be chained together.