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
-
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 Detail
-
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 theAvailabilityZone.Builderavoiding the need to create one manually viaAvailabilityZone.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#availabilityZones(List.) - 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:
#availabilityZones(java.util.Collection)
-
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,EngineType
-
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:
EngineType,EngineType
-
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:
BrokerStorageType,BrokerStorageType
-
storageType
BrokerInstanceOption.Builder storageType(BrokerStorageType 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:
BrokerStorageType,BrokerStorageType
-
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.
-
-