Interface DestinationConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DestinationConfiguration.Builder,DestinationConfiguration>,SdkBuilder<DestinationConfiguration.Builder,DestinationConfiguration>,SdkPojo
- Enclosing class:
- DestinationConfiguration
public static interface DestinationConfiguration.Builder extends SdkPojo, CopyableBuilder<DestinationConfiguration.Builder,DestinationConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DestinationConfiguration.Builderchannel(Consumer<ChannelDestinationConfiguration.Builder> channel)An IVS channel to be used for broadcasting, for server-side composition.DestinationConfiguration.Builderchannel(ChannelDestinationConfiguration channel)An IVS channel to be used for broadcasting, for server-side composition.DestinationConfiguration.Buildername(String name)Name that can be specified to help identify the destination.default DestinationConfiguration.Builders3(Consumer<S3DestinationConfiguration.Builder> s3)An S3 storage configuration to be used for recording video data.DestinationConfiguration.Builders3(S3DestinationConfiguration s3)An S3 storage configuration to be used for recording video data.-
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
-
name
DestinationConfiguration.Builder name(String name)
Name that can be specified to help identify the destination.
- Parameters:
name- Name that can be specified to help identify the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channel
DestinationConfiguration.Builder channel(ChannelDestinationConfiguration channel)
An IVS channel to be used for broadcasting, for server-side composition. Either a
channelor ans3must be specified.- Parameters:
channel- An IVS channel to be used for broadcasting, for server-side composition. Either achannelor ans3must be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channel
default DestinationConfiguration.Builder channel(Consumer<ChannelDestinationConfiguration.Builder> channel)
An IVS channel to be used for broadcasting, for server-side composition. Either a
This is a convenience method that creates an instance of thechannelor ans3must be specified.ChannelDestinationConfiguration.Builderavoiding the need to create one manually viaChannelDestinationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannel(ChannelDestinationConfiguration).- Parameters:
channel- a consumer that will call methods onChannelDestinationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
channel(ChannelDestinationConfiguration)
-
s3
DestinationConfiguration.Builder s3(S3DestinationConfiguration s3)
An S3 storage configuration to be used for recording video data. Either a
channelor ans3must be specified.- Parameters:
s3- An S3 storage configuration to be used for recording video data. Either achannelor ans3must be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
default DestinationConfiguration.Builder s3(Consumer<S3DestinationConfiguration.Builder> s3)
An S3 storage configuration to be used for recording video data. Either a
This is a convenience method that creates an instance of thechannelor ans3must be specified.S3DestinationConfiguration.Builderavoiding the need to create one manually viaS3DestinationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3DestinationConfiguration).- Parameters:
s3- a consumer that will call methods onS3DestinationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3(S3DestinationConfiguration)
-
-