Interface BrokerInstanceOption.Builder

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

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

    • availabilityZones

      BrokerInstanceOption.Builder availabilityZones(Collection<AvailabilityZone> availabilityZones)

      The list of available az.

      Parameters:
      availabilityZones - The list of available az.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZones

      BrokerInstanceOption.Builder availabilityZones(AvailabilityZone... availabilityZones)

      The list of available az.

      Parameters:
      availabilityZones - The list of available az.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZones

      BrokerInstanceOption.Builder availabilityZones(Consumer<AvailabilityZone.Builder>... availabilityZones)

      The list of available az.

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

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

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

      BrokerInstanceOption.Builder engineType(String engineType)

      The broker's engine type.

      Parameters:
      engineType - The broker's engine type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • engineType

      BrokerInstanceOption.Builder engineType(EngineType engineType)

      The broker's engine type.

      Parameters:
      engineType - The broker's engine type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • hostInstanceType

      BrokerInstanceOption.Builder hostInstanceType(String hostInstanceType)

      The broker's instance type.

      Parameters:
      hostInstanceType - The broker's instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageType

      BrokerInstanceOption.Builder storageType(String storageType)

      The broker's storage type.

      Parameters:
      storageType - The broker's storage type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • storageType

      The broker's storage type.

      Parameters:
      storageType - The broker's storage type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • supportedDeploymentModesWithStrings

      BrokerInstanceOption.Builder supportedDeploymentModesWithStrings(Collection<String> supportedDeploymentModes)

      The list of supported deployment modes.

      Parameters:
      supportedDeploymentModes - The list of supported deployment modes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedDeploymentModesWithStrings

      BrokerInstanceOption.Builder supportedDeploymentModesWithStrings(String... supportedDeploymentModes)

      The list of supported deployment modes.

      Parameters:
      supportedDeploymentModes - The list of supported deployment modes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedDeploymentModes

      BrokerInstanceOption.Builder supportedDeploymentModes(Collection<DeploymentMode> supportedDeploymentModes)

      The list of supported deployment modes.

      Parameters:
      supportedDeploymentModes - The list of supported deployment modes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedDeploymentModes

      BrokerInstanceOption.Builder supportedDeploymentModes(DeploymentMode... supportedDeploymentModes)

      The list of supported deployment modes.

      Parameters:
      supportedDeploymentModes - The list of supported deployment modes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedEngineVersions

      BrokerInstanceOption.Builder supportedEngineVersions(Collection<String> supportedEngineVersions)

      The list of supported engine versions.

      Parameters:
      supportedEngineVersions - The list of supported engine versions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedEngineVersions

      BrokerInstanceOption.Builder supportedEngineVersions(String... supportedEngineVersions)

      The list of supported engine versions.

      Parameters:
      supportedEngineVersions - The list of supported engine versions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.