Class GridConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GridConfiguration.Builder,GridConfiguration>
Configuration information specific to Grid layout, for server-side composition. See "Layouts" in Server-Side Composition.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GridConfiguration.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThis attribute name identifies the featured slot.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final IntegergridGap()Specifies the spacing between participant tiles in pixels.final inthashCode()final BooleanDetermines whether to omit participants with stopped video in the composition.static Class<? extends GridConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final VideoAspectRatioSets the non-featured participant display mode, to control the aspect ratio of video tiles.final StringSets the non-featured participant display mode, to control the aspect ratio of video tiles.final VideoFillModeDefines how video content fits within the participant tile:FILL(stretched),COVER(cropped), orCONTAIN(letterboxed).final StringDefines how video content fits within the participant tile:FILL(stretched),COVER(cropped), orCONTAIN(letterboxed).Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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. Default:""(no featured participant).- 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. Default:""(no featured participant).
-
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
Sets the non-featured participant display mode, to control the aspect ratio of video tiles.
VIDEOis 16:9,SQUAREis 1:1, andPORTRAITis 3:4. 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, to control the aspect ratio of video tiles.
VIDEOis 16:9,SQUAREis 1:1, andPORTRAITis 3:4. Default:VIDEO. - See Also:
-
videoAspectRatioAsString
Sets the non-featured participant display mode, to control the aspect ratio of video tiles.
VIDEOis 16:9,SQUAREis 1:1, andPORTRAITis 3:4. 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, to control the aspect ratio of video tiles.
VIDEOis 16:9,SQUAREis 1:1, andPORTRAITis 3:4. Default:VIDEO. - See Also:
-
videoFillMode
Defines how video content fits within the participant tile:
FILL(stretched),COVER(cropped), orCONTAIN(letterboxed). 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 content fits within the participant tile:
FILL(stretched),COVER(cropped), orCONTAIN(letterboxed). When not set,videoFillModedefaults toCOVERfill mode for participants in the grid and toCONTAINfill mode for featured participants. - See Also:
-
videoFillModeAsString
Defines how video content fits within the participant tile:
FILL(stretched),COVER(cropped), orCONTAIN(letterboxed). 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 content fits within the participant tile:
FILL(stretched),COVER(cropped), orCONTAIN(letterboxed). When not set,videoFillModedefaults toCOVERfill mode for participants in the grid and toCONTAINfill mode for featured participants. - See Also:
-
gridGap
Specifies the spacing between participant tiles in pixels. Default:
2.- Returns:
- Specifies the spacing between participant tiles in pixels. Default:
2.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GridConfiguration.Builder,GridConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-