Class GridConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.ivsrealtime.model.GridConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GridConfiguration.Builder,GridConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class GridConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GridConfiguration.Builder,GridConfiguration>
Configuration information specific to Grid layout, for server-side composition. See "Layouts" in Server-Side Composition.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGridConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GridConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfeaturedParticipantAttribute()This attribute name identifies the featured slot.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)IntegergridGap()Specifies the spacing between participant tiles in pixels.inthashCode()BooleanomitStoppedVideo()Determines whether to omit participants with stopped video in the composition.List<SdkField<?>>sdkFields()static Class<? extends GridConfiguration.Builder>serializableBuilderClass()GridConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.VideoAspectRatiovideoAspectRatio()Sets the non-featured participant display mode.StringvideoAspectRatioAsString()Sets the non-featured participant display mode.VideoFillModevideoFillMode()Defines how video fits within the participant tile.StringvideoFillModeAsString()Defines how video fits within the participant tile.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
featuredParticipantAttribute
public final 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.- Returns:
- 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.
-
gridGap
public final Integer gridGap()
Specifies the spacing between participant tiles in pixels. Default:
2.- Returns:
- Specifies the spacing between participant tiles in pixels. Default:
2.
-
omitStoppedVideo
public final Boolean omitStoppedVideo()
Determines whether to omit participants with stopped video in the composition. Default:
false.- Returns:
- Determines whether to omit participants with stopped video in the composition. Default:
false.
-
videoAspectRatio
public final VideoAspectRatio videoAspectRatio()
Sets the non-featured participant display mode. Default:
VIDEO.If the service returns an enum value that is not available in the current SDK version,
videoAspectRatiowill returnVideoAspectRatio.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvideoAspectRatioAsString().- Returns:
- Sets the non-featured participant display mode. Default:
VIDEO. - See Also:
VideoAspectRatio
-
videoAspectRatioAsString
public final String videoAspectRatioAsString()
Sets the non-featured participant display mode. Default:
VIDEO.If the service returns an enum value that is not available in the current SDK version,
videoAspectRatiowill returnVideoAspectRatio.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvideoAspectRatioAsString().- Returns:
- Sets the non-featured participant display mode. Default:
VIDEO. - See Also:
VideoAspectRatio
-
videoFillMode
public final VideoFillMode videoFillMode()
Defines how video fits within the participant tile. When not set,
videoFillModedefaults toCOVERfill mode for participants in the grid and toCONTAINfill mode for featured participants.If the service returns an enum value that is not available in the current SDK version,
videoFillModewill returnVideoFillMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvideoFillModeAsString().- Returns:
- Defines how video fits within the participant tile. When not set,
videoFillModedefaults toCOVERfill mode for participants in the grid and toCONTAINfill mode for featured participants. - See Also:
VideoFillMode
-
videoFillModeAsString
public final String videoFillModeAsString()
Defines how video fits within the participant tile. When not set,
videoFillModedefaults toCOVERfill mode for participants in the grid and toCONTAINfill mode for featured participants.If the service returns an enum value that is not available in the current SDK version,
videoFillModewill returnVideoFillMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvideoFillModeAsString().- Returns:
- Defines how video fits within the participant tile. When not set,
videoFillModedefaults toCOVERfill mode for participants in the grid and toCONTAINfill mode for featured participants. - See Also:
VideoFillMode
-
toBuilder
public GridConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GridConfiguration.Builder,GridConfiguration>
-
builder
public static GridConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends GridConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-