Interface EbsConfiguration.Builder

  • Method Details

    • ebsBlockDeviceConfigs

      EbsConfiguration.Builder ebsBlockDeviceConfigs(Collection<EbsBlockDeviceConfig> ebsBlockDeviceConfigs)

      An array of Amazon EBS volume specifications attached to a cluster instance.

      Parameters:
      ebsBlockDeviceConfigs - An array of Amazon EBS volume specifications attached to a cluster instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ebsBlockDeviceConfigs

      EbsConfiguration.Builder ebsBlockDeviceConfigs(EbsBlockDeviceConfig... ebsBlockDeviceConfigs)

      An array of Amazon EBS volume specifications attached to a cluster instance.

      Parameters:
      ebsBlockDeviceConfigs - An array of Amazon EBS volume specifications attached to a cluster instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ebsBlockDeviceConfigs

      EbsConfiguration.Builder ebsBlockDeviceConfigs(Consumer<EbsBlockDeviceConfig.Builder>... ebsBlockDeviceConfigs)

      An array of Amazon EBS volume specifications attached to a cluster instance.

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

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

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

      EbsConfiguration.Builder ebsOptimized(Boolean ebsOptimized)

      Indicates whether an Amazon EBS volume is EBS-optimized. The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.

      Parameters:
      ebsOptimized - Indicates whether an Amazon EBS volume is EBS-optimized. The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.