Interface AvailableCapacity.Builder

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

public static interface AvailableCapacity.Builder extends SdkPojo, CopyableBuilder<AvailableCapacity.Builder,AvailableCapacity>
  • Method Details

    • availableInstanceCapacity

      AvailableCapacity.Builder availableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)

      The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.

      Parameters:
      availableInstanceCapacity - The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availableInstanceCapacity

      AvailableCapacity.Builder availableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)

      The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.

      Parameters:
      availableInstanceCapacity - The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availableInstanceCapacity

      AvailableCapacity.Builder availableInstanceCapacity(Consumer<InstanceCapacity.Builder>... availableInstanceCapacity)

      The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.

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

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

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

      AvailableCapacity.Builder availableVCpus(Integer availableVCpus)

      The number of vCPUs available for launching instances onto the Dedicated Host.

      Parameters:
      availableVCpus - The number of vCPUs available for launching instances onto the Dedicated Host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.