Interface MediaElement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MediaElement.Builder,MediaElement>,SdkBuilder<MediaElement.Builder,MediaElement>,SdkPojo
- Enclosing class:
- MediaElement
public static interface MediaElement.Builder extends SdkPojo, CopyableBuilder<MediaElement.Builder,MediaElement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MediaElement.Buildercaption(String caption)The caption of the media.MediaElement.BuildermediaId(String mediaId)The unique ID for the media.MediaElement.Buildertype(String type)The type of media.MediaElement.Buildertype(MediaElementType type)The type of media.MediaElement.Builderurl(String url)The URL of the media.-
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
-
mediaId
MediaElement.Builder mediaId(String mediaId)
The unique ID for the media.
- Parameters:
mediaId- The unique ID for the media.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
MediaElement.Builder type(String type)
The type of media.
- Parameters:
type- The type of media.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MediaElementType,MediaElementType
-
type
MediaElement.Builder type(MediaElementType type)
The type of media.
- Parameters:
type- The type of media.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MediaElementType,MediaElementType
-
url
MediaElement.Builder url(String url)
The URL of the media.
- Parameters:
url- The URL of the media.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caption
MediaElement.Builder caption(String caption)
The caption of the media.
- Parameters:
caption- The caption of the media.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-