Interface MulticastSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MulticastSettings.Builder,
,MulticastSettings> SdkBuilder<MulticastSettings.Builder,
,MulticastSettings> SdkPojo
- Enclosing class:
MulticastSettings
public static interface MulticastSettings.Builder
extends SdkPojo, CopyableBuilder<MulticastSettings.Builder,MulticastSettings>
-
Method Summary
Modifier and TypeMethodDescriptionsources
(Collection<MulticastSource> sources) Sets the value of the Sources property for this object.sources
(Consumer<MulticastSource.Builder>... sources) Sets the value of the Sources property for this object.sources
(MulticastSource... sources) Sets the value of the Sources property for this object.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
-
sources
Sets the value of the Sources property for this object.- Parameters:
sources
- The new value for the Sources property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
Sets the value of the Sources property for this object.- Parameters:
sources
- The new value for the Sources property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
Sets the value of the Sources property for this object. This is a convenience method that creates an instance of theMulticastSource.Builder
avoiding the need to create one manually viaMulticastSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<MulticastSource>)
.- Parameters:
sources
- a consumer that will call methods onMulticastSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-