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