Interface PipConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PipConfiguration.Builder,PipConfiguration>,SdkBuilder<PipConfiguration.Builder,PipConfiguration>,SdkPojo
- Enclosing class:
- PipConfiguration
public static interface PipConfiguration.Builder extends SdkPojo, CopyableBuilder<PipConfiguration.Builder,PipConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PipConfiguration.BuilderfeaturedParticipantAttribute(String featuredParticipantAttribute)This attribute name identifies the featured slot.PipConfiguration.BuildergridGap(Integer gridGap)Specifies the spacing between participant tiles in pixels.PipConfiguration.BuilderomitStoppedVideo(Boolean omitStoppedVideo)Determines whether to omit participants with stopped video in the composition.PipConfiguration.BuilderpipBehavior(String pipBehavior)Defines PiP behavior when all participants have left.PipConfiguration.BuilderpipBehavior(PipBehavior pipBehavior)Defines PiP behavior when all participants have left.PipConfiguration.BuilderpipHeight(Integer pipHeight)Specifies the height of the PiP window in pixels.PipConfiguration.BuilderpipOffset(Integer pipOffset)Sets the PiP window’s offset position in pixels from the closest edges determined byPipPosition.PipConfiguration.BuilderpipParticipantAttribute(String pipParticipantAttribute)Identifies the PiP slot.PipConfiguration.BuilderpipPosition(String pipPosition)Determines the corner position of the PiP window.PipConfiguration.BuilderpipPosition(PipPosition pipPosition)Determines the corner position of the PiP window.PipConfiguration.BuilderpipWidth(Integer pipWidth)Specifies the width of the PiP window in pixels.PipConfiguration.BuildervideoFillMode(String videoFillMode)Defines how video fits within the participant tile.PipConfiguration.BuildervideoFillMode(VideoFillMode videoFillMode)Defines how video fits within the participant tile.-
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, sdkFields
-
-
-
-
Method Detail
-
featuredParticipantAttribute
PipConfiguration.Builder featuredParticipantAttribute(String featuredParticipantAttribute)
This attribute name identifies the featured slot. A participant with this attribute set to
"true"(as a string value) in ParticipantTokenConfiguration is placed in the featured slot.- Parameters:
featuredParticipantAttribute- This attribute name identifies the featured slot. A participant with this attribute set to"true"(as a string value) in ParticipantTokenConfiguration is placed in the featured slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gridGap
PipConfiguration.Builder gridGap(Integer gridGap)
Specifies the spacing between participant tiles in pixels. Default:
0.- Parameters:
gridGap- Specifies the spacing between participant tiles in pixels. Default:0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
omitStoppedVideo
PipConfiguration.Builder omitStoppedVideo(Boolean omitStoppedVideo)
Determines whether to omit participants with stopped video in the composition. Default:
false.- Parameters:
omitStoppedVideo- Determines whether to omit participants with stopped video in the composition. Default:false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipBehavior
PipConfiguration.Builder pipBehavior(String pipBehavior)
Defines PiP behavior when all participants have left. Default:
STATIC.- Parameters:
pipBehavior- Defines PiP behavior when all participants have left. Default:STATIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipBehavior,PipBehavior
-
pipBehavior
PipConfiguration.Builder pipBehavior(PipBehavior pipBehavior)
Defines PiP behavior when all participants have left. Default:
STATIC.- Parameters:
pipBehavior- Defines PiP behavior when all participants have left. Default:STATIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipBehavior,PipBehavior
-
pipHeight
PipConfiguration.Builder pipHeight(Integer pipHeight)
Specifies the height of the PiP window in pixels. When this is not set explicitly,
pipHeight’s value will be based on the size of the composition and the aspect ratio of the participant’s video.- Parameters:
pipHeight- Specifies the height of the PiP window in pixels. When this is not set explicitly,pipHeight’s value will be based on the size of the composition and the aspect ratio of the participant’s video.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipOffset
PipConfiguration.Builder pipOffset(Integer pipOffset)
Sets the PiP window’s offset position in pixels from the closest edges determined by
PipPosition. Default:0.- Parameters:
pipOffset- Sets the PiP window’s offset position in pixels from the closest edges determined byPipPosition. Default:0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipParticipantAttribute
PipConfiguration.Builder pipParticipantAttribute(String pipParticipantAttribute)
Identifies the PiP slot. A participant with this attribute set to
"true"(as a string value) in ParticipantTokenConfiguration is placed in the PiP slot.- Parameters:
pipParticipantAttribute- Identifies the PiP slot. A participant with this attribute set to"true"(as a string value) in ParticipantTokenConfiguration is placed in the PiP slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipPosition
PipConfiguration.Builder pipPosition(String pipPosition)
Determines the corner position of the PiP window. Default:
BOTTOM_RIGHT.- Parameters:
pipPosition- Determines the corner position of the PiP window. Default:BOTTOM_RIGHT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipPosition,PipPosition
-
pipPosition
PipConfiguration.Builder pipPosition(PipPosition pipPosition)
Determines the corner position of the PiP window. Default:
BOTTOM_RIGHT.- Parameters:
pipPosition- Determines the corner position of the PiP window. Default:BOTTOM_RIGHT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipPosition,PipPosition
-
pipWidth
PipConfiguration.Builder pipWidth(Integer pipWidth)
Specifies the width of the PiP window in pixels. When this is not set explicitly,
pipWidth’s value will be based on the size of the composition and the aspect ratio of the participant’s video.- Parameters:
pipWidth- Specifies the width of the PiP window in pixels. When this is not set explicitly,pipWidth’s value will be based on the size of the composition and the aspect ratio of the participant’s video.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
videoFillMode
PipConfiguration.Builder videoFillMode(String videoFillMode)
Defines how video fits within the participant tile. Default:
COVER.- Parameters:
videoFillMode- Defines how video fits within the participant tile. Default:COVER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VideoFillMode,VideoFillMode
-
videoFillMode
PipConfiguration.Builder videoFillMode(VideoFillMode videoFillMode)
Defines how video fits within the participant tile. Default:
COVER.- Parameters:
videoFillMode- Defines how video fits within the participant tile. Default:COVER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VideoFillMode,VideoFillMode
-
-