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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MulticastSettings.Buildersources(Collection<MulticastSource> sources)Sets the value of the Sources property for this object.MulticastSettings.Buildersources(Consumer<MulticastSource.Builder>... sources)Sets the value of the Sources property for this object.MulticastSettings.Buildersources(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sources
MulticastSettings.Builder sources(Collection<MulticastSource> 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
MulticastSettings.Builder sources(MulticastSource... 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
MulticastSettings.Builder sources(Consumer<MulticastSource.Builder>... 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 to#sources(List.) - 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:
#sources(java.util.Collection)
-
-