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