Class VideoExtendParams.Body.Builder
-
- All Implemented Interfaces:
public final class VideoExtendParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
prompt
final VideoExtendParams.Body.Builder prompt(String prompt)
Updated text prompt that directs the extension generation.
-
prompt
final VideoExtendParams.Body.Builder prompt(MultipartField<String> prompt)
Sets Builder.prompt to an arbitrary multipart value.
You should usually call Builder.prompt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
seconds
final VideoExtendParams.Body.Builder seconds(VideoSeconds seconds)
Length of the newly generated extension segment in seconds (allowed values: 4, 8, 12, 16, 20).
-
seconds
final VideoExtendParams.Body.Builder seconds(MultipartField<VideoSeconds> seconds)
Sets Builder.seconds to an arbitrary multipart value.
You should usually call Builder.seconds with a well-typed VideoSeconds value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
video
final VideoExtendParams.Body.Builder video(VideoExtendParams.Video video)
Reference to the completed video to extend.
-
video
final VideoExtendParams.Body.Builder video(MultipartField<VideoExtendParams.Video> video)
Sets Builder.video to an arbitrary multipart value.
You should usually call Builder.video with a well-typed Video value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
video
final VideoExtendParams.Body.Builder video(InputStream inputStream)
Alias for calling video with
Video.ofInputStream(inputStream).
-
video
final VideoExtendParams.Body.Builder video(ByteArray inputStream)
Reference to the completed video to extend.
-
video
final VideoExtendParams.Body.Builder video(Path path)
Reference to the completed video to extend.
-
video
final VideoExtendParams.Body.Builder video(VideoExtendParams.Video.VideoReferenceInputParam referenceInputParam)
Alias for calling video with
Video.ofReferenceInputParam(referenceInputParam).
-
additionalProperties
final VideoExtendParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VideoExtendParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VideoExtendParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VideoExtendParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VideoExtendParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VideoExtendParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.prompt() .seconds() .video()
-
-
-
-