Interface DetailedInstanceTypeItem.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DetailedInstanceTypeItem.Builder,DetailedInstanceTypeItem>, SdkBuilder<DetailedInstanceTypeItem.Builder,DetailedInstanceTypeItem>, SdkPojo
Enclosing class:
DetailedInstanceTypeItem

@Mutable @NotThreadSafe public static interface DetailedInstanceTypeItem.Builder extends SdkPojo, CopyableBuilder<DetailedInstanceTypeItem.Builder,DetailedInstanceTypeItem>
  • Method Details

    • instanceType

      DetailedInstanceTypeItem.Builder instanceType(String instanceType)

      The instance type.

      Parameters:
      instanceType - The instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vcpUs

      The number of default VCPUs in the instance type.

      Parameters:
      vcpUs - The number of default VCPUs in the instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryInMib

      DetailedInstanceTypeItem.Builder memoryInMib(Integer memoryInMib)

      The memory size of the instance type, in MiB.

      Parameters:
      memoryInMib - The memory size of the instance type, in MiB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkPerformance

      DetailedInstanceTypeItem.Builder networkPerformance(String networkPerformance)

      The network performance of the instance type.

      Parameters:
      networkPerformance - The network performance of the instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formFactorConfigs

      DetailedInstanceTypeItem.Builder formFactorConfigs(Collection<FormFactorConfig> formFactorConfigs)

      The supported form factor and Outpost generation configurations for the instance type.

      Parameters:
      formFactorConfigs - The supported form factor and Outpost generation configurations for the instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formFactorConfigs

      DetailedInstanceTypeItem.Builder formFactorConfigs(FormFactorConfig... formFactorConfigs)

      The supported form factor and Outpost generation configurations for the instance type.

      Parameters:
      formFactorConfigs - The supported form factor and Outpost generation configurations for the instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formFactorConfigs

      DetailedInstanceTypeItem.Builder formFactorConfigs(Consumer<FormFactorConfig.Builder>... formFactorConfigs)

      The supported form factor and Outpost generation configurations for the instance type.

      This is a convenience method that creates an instance of the FormFactorConfig.Builder avoiding the need to create one manually via FormFactorConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to formFactorConfigs(List<FormFactorConfig>).

      Parameters:
      formFactorConfigs - a consumer that will call methods on FormFactorConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: