public static interface Configurations.Builder extends SdkPojo, CopyableBuilder<Configurations.Builder,Configurations>
Modifier and Type | Method and Description |
---|---|
Configurations.Builder |
current(ConfigurationId current)
The current configuration of the broker.
|
default Configurations.Builder |
current(Consumer<ConfigurationId.Builder> current)
The current configuration of the broker.
|
Configurations.Builder |
history(Collection<ConfigurationId> history)
The history of configurations applied to the broker.
|
Configurations.Builder |
history(ConfigurationId... history)
The history of configurations applied to the broker.
|
Configurations.Builder |
history(Consumer<ConfigurationId.Builder>... history)
The history of configurations applied to the broker.
|
Configurations.Builder |
pending(ConfigurationId pending)
The pending configuration of the broker.
|
default Configurations.Builder |
pending(Consumer<ConfigurationId.Builder> pending)
The pending configuration of the broker.
|
copy
applyMutation, build
Configurations.Builder current(ConfigurationId current)
current
- The current configuration of the broker.default Configurations.Builder current(Consumer<ConfigurationId.Builder> current)
ConfigurationId.Builder
avoiding the need to create one manually via
ConfigurationId.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to current(ConfigurationId)
.current
- a consumer that will call methods on ConfigurationId.Builder
current(ConfigurationId)
Configurations.Builder history(Collection<ConfigurationId> history)
history
- The history of configurations applied to the broker.Configurations.Builder history(ConfigurationId... history)
history
- The history of configurations applied to the broker.Configurations.Builder history(Consumer<ConfigurationId.Builder>... history)
List.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #history(List)
.history
- a consumer that will call methods on List.Builder
#history(List)
Configurations.Builder pending(ConfigurationId pending)
pending
- The pending configuration of the broker.default Configurations.Builder pending(Consumer<ConfigurationId.Builder> pending)
ConfigurationId.Builder
avoiding the need to create one manually via
ConfigurationId.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to pending(ConfigurationId)
.pending
- a consumer that will call methods on ConfigurationId.Builder
pending(ConfigurationId)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.