Interface Configurations.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Configurations.Builder,,Configurations> SdkBuilder<Configurations.Builder,,Configurations> SdkPojo
- Enclosing class:
Configurations
public static interface Configurations.Builder
extends SdkPojo, CopyableBuilder<Configurations.Builder,Configurations>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Configurations.Buildercurrent(Consumer<ConfigurationId.Builder> current) The broker's current configuration.current(ConfigurationId current) The broker's current configuration.history(Collection<ConfigurationId> history) The history of configurations applied to the broker.history(Consumer<ConfigurationId.Builder>... history) The history of configurations applied to the broker.history(ConfigurationId... history) The history of configurations applied to the broker.default Configurations.Builderpending(Consumer<ConfigurationId.Builder> pending) The broker's pending configuration.pending(ConfigurationId pending) The broker's pending configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
current
The broker's current configuration.
- Parameters:
current- The broker's current configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
current
The broker's current configuration.
This is a convenience method that creates an instance of theConfigurationId.Builderavoiding the need to create one manually viaConfigurationId.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrent(ConfigurationId).- Parameters:
current- a consumer that will call methods onConfigurationId.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
history
The history of configurations applied to the broker.
- Parameters:
history- The history of configurations applied to the broker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
history
The history of configurations applied to the broker.
- Parameters:
history- The history of configurations applied to the broker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
history
The history of configurations applied to the broker.
This is a convenience method that creates an instance of theConfigurationId.Builderavoiding the need to create one manually viaConfigurationId.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohistory(List<ConfigurationId>).- Parameters:
history- a consumer that will call methods onConfigurationId.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pending
The broker's pending configuration.
- Parameters:
pending- The broker's pending configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pending
The broker's pending configuration.
This is a convenience method that creates an instance of theConfigurationId.Builderavoiding the need to create one manually viaConfigurationId.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topending(ConfigurationId).- Parameters:
pending- a consumer that will call methods onConfigurationId.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-