Interface MulticastSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MulticastSettings.Builder,,MulticastSettings> SdkBuilder<MulticastSettings.Builder,,MulticastSettings> SdkPojo
- Enclosing class:
MulticastSettings
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaMulticastSource.builder().When the
Consumercompletes,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:
-