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 Summary
Modifier and TypeMethodDescriptionavailabilityZones
(Collection<AvailabilityZone> availabilityZones) The list of available az.availabilityZones
(Consumer<AvailabilityZone.Builder>... availabilityZones) The list of available az.availabilityZones
(AvailabilityZone... availabilityZones) The list of available az.engineType
(String engineType) The broker's engine type.engineType
(EngineType engineType) The broker's engine type.hostInstanceType
(String hostInstanceType) The broker's instance type.storageType
(String storageType) The broker's storage type.storageType
(BrokerStorageType storageType) The broker's storage type.supportedDeploymentModes
(Collection<DeploymentMode> supportedDeploymentModes) The list of supported deployment modes.supportedDeploymentModes
(DeploymentMode... supportedDeploymentModes) The list of supported deployment modes.supportedDeploymentModesWithStrings
(String... supportedDeploymentModes) The list of supported deployment modes.supportedDeploymentModesWithStrings
(Collection<String> supportedDeploymentModes) The list of supported deployment modes.supportedEngineVersions
(String... supportedEngineVersions) The list of supported engine versions.supportedEngineVersions
(Collection<String> supportedEngineVersions) The list of supported engine versions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 theAvailabilityZone.Builder
avoiding the need to create one manually viaAvailabilityZone.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toavailabilityZones(List<AvailabilityZone>)
.- Parameters:
availabilityZones
- a consumer that will call methods onAvailabilityZone.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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
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.
-