Interface FabricSwitchingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FabricSwitchingConfiguration.Builder,,FabricSwitchingConfiguration> SdkBuilder<FabricSwitchingConfiguration.Builder,,FabricSwitchingConfiguration> SdkPojo
- Enclosing class:
FabricSwitchingConfiguration
@Mutable
@NotThreadSafe
public static interface FabricSwitchingConfiguration.Builder
extends SdkPojo, CopyableBuilder<FabricSwitchingConfiguration.Builder,FabricSwitchingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe switching configuration where the router output switches to the new router input immediately.immediate(ImmediateFabricSwitchingConfiguration immediate) The switching configuration where the router output switches to the new router input immediately.The switching configuration where the router output waits for a key frame on the new router input before it switches.keyFrame(KeyFrameFabricSwitchingConfiguration keyFrame) The switching configuration where the router output waits for a key frame on the new router input before it switches.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
-
immediate
The switching configuration where the router output switches to the new router input immediately.
- Parameters:
immediate- The switching configuration where the router output switches to the new router input immediately.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
immediate
default FabricSwitchingConfiguration.Builder immediate(Consumer<ImmediateFabricSwitchingConfiguration.Builder> immediate) The switching configuration where the router output switches to the new router input immediately.
This is a convenience method that creates an instance of theImmediateFabricSwitchingConfiguration.Builderavoiding the need to create one manually viaImmediateFabricSwitchingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimmediate(ImmediateFabricSwitchingConfiguration).- Parameters:
immediate- a consumer that will call methods onImmediateFabricSwitchingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyFrame
The switching configuration where the router output waits for a key frame on the new router input before it switches.
- Parameters:
keyFrame- The switching configuration where the router output waits for a key frame on the new router input before it switches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyFrame
default FabricSwitchingConfiguration.Builder keyFrame(Consumer<KeyFrameFabricSwitchingConfiguration.Builder> keyFrame) The switching configuration where the router output waits for a key frame on the new router input before it switches.
This is a convenience method that creates an instance of theKeyFrameFabricSwitchingConfiguration.Builderavoiding the need to create one manually viaKeyFrameFabricSwitchingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyFrame(KeyFrameFabricSwitchingConfiguration).- Parameters:
keyFrame- a consumer that will call methods onKeyFrameFabricSwitchingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-