public static interface GetSegmentDetectionResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<GetSegmentDetectionResponse.Builder,GetSegmentDetectionResponse>
| Modifier and Type | Method and Description |
|---|---|
GetSegmentDetectionResponse.Builder |
audioMetadata(AudioMetadata... audioMetadata)
An array of objects.
|
GetSegmentDetectionResponse.Builder |
audioMetadata(Collection<AudioMetadata> audioMetadata)
An array of objects.
|
GetSegmentDetectionResponse.Builder |
audioMetadata(Consumer<AudioMetadata.Builder>... audioMetadata)
An array of objects.
|
GetSegmentDetectionResponse.Builder |
jobStatus(String jobStatus)
Current status of the segment detection job.
|
GetSegmentDetectionResponse.Builder |
jobStatus(VideoJobStatus jobStatus)
Current status of the segment detection job.
|
GetSegmentDetectionResponse.Builder |
nextToken(String nextToken)
If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video
returns a pagination token in the response.
|
GetSegmentDetectionResponse.Builder |
segments(Collection<SegmentDetection> segments)
An array of segments detected in a video.
|
GetSegmentDetectionResponse.Builder |
segments(Consumer<SegmentDetection.Builder>... segments)
An array of segments detected in a video.
|
GetSegmentDetectionResponse.Builder |
segments(SegmentDetection... segments)
An array of segments detected in a video.
|
GetSegmentDetectionResponse.Builder |
selectedSegmentTypes(Collection<SegmentTypeInfo> selectedSegmentTypes)
An array containing the segment types requested in the call to
StartSegmentDetection. |
GetSegmentDetectionResponse.Builder |
selectedSegmentTypes(Consumer<SegmentTypeInfo.Builder>... selectedSegmentTypes)
An array containing the segment types requested in the call to
StartSegmentDetection. |
GetSegmentDetectionResponse.Builder |
selectedSegmentTypes(SegmentTypeInfo... selectedSegmentTypes)
An array containing the segment types requested in the call to
StartSegmentDetection. |
GetSegmentDetectionResponse.Builder |
statusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
GetSegmentDetectionResponse.Builder |
videoMetadata(Collection<VideoMetadata> videoMetadata)
Currently, Amazon Rekognition Video returns a single object in the
VideoMetadata array. |
GetSegmentDetectionResponse.Builder |
videoMetadata(Consumer<VideoMetadata.Builder>... videoMetadata)
Currently, Amazon Rekognition Video returns a single object in the
VideoMetadata array. |
GetSegmentDetectionResponse.Builder |
videoMetadata(VideoMetadata... videoMetadata)
Currently, Amazon Rekognition Video returns a single object in the
VideoMetadata array. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSegmentDetectionResponse.Builder jobStatus(String jobStatus)
Current status of the segment detection job.
jobStatus - Current status of the segment detection job.VideoJobStatus,
VideoJobStatusGetSegmentDetectionResponse.Builder jobStatus(VideoJobStatus jobStatus)
Current status of the segment detection job.
jobStatus - Current status of the segment detection job.VideoJobStatus,
VideoJobStatusGetSegmentDetectionResponse.Builder statusMessage(String statusMessage)
If the job fails, StatusMessage provides a descriptive error message.
statusMessage - If the job fails, StatusMessage provides a descriptive error message.GetSegmentDetectionResponse.Builder videoMetadata(Collection<VideoMetadata> videoMetadata)
Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array. The
object contains information about the video stream in the input file that Amazon Rekognition Video chose to
analyze. The VideoMetadata object includes the video codec, video format and other information.
Video metadata is returned in each page of information returned by GetSegmentDetection.
videoMetadata - Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array.
The object contains information about the video stream in the input file that Amazon Rekognition Video
chose to analyze. The VideoMetadata object includes the video codec, video format and
other information. Video metadata is returned in each page of information returned by
GetSegmentDetection.GetSegmentDetectionResponse.Builder videoMetadata(VideoMetadata... videoMetadata)
Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array. The
object contains information about the video stream in the input file that Amazon Rekognition Video chose to
analyze. The VideoMetadata object includes the video codec, video format and other information.
Video metadata is returned in each page of information returned by GetSegmentDetection.
videoMetadata - Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array.
The object contains information about the video stream in the input file that Amazon Rekognition Video
chose to analyze. The VideoMetadata object includes the video codec, video format and
other information. Video metadata is returned in each page of information returned by
GetSegmentDetection.GetSegmentDetectionResponse.Builder videoMetadata(Consumer<VideoMetadata.Builder>... videoMetadata)
Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array. The
object contains information about the video stream in the input file that Amazon Rekognition Video chose to
analyze. The VideoMetadata object includes the video codec, video format and other information.
Video metadata is returned in each page of information returned by GetSegmentDetection.
VideoMetadata.Builder avoiding the need to create
one manually via VideoMetadata.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #videoMetadata(List.
videoMetadata - a consumer that will call methods on
VideoMetadata.Builder#videoMetadata(java.util.Collection) GetSegmentDetectionResponse.Builder audioMetadata(Collection<AudioMetadata> audioMetadata)
An array of objects. There can be multiple audio streams. Each AudioMetadata object contains
metadata for a single audio stream. Audio information in an AudioMetadata objects includes the
audio codec, the number of audio channels, the duration of the audio stream, and the sample rate. Audio
metadata is returned in each page of information returned by GetSegmentDetection.
audioMetadata - An array of objects. There can be multiple audio streams. Each AudioMetadata object
contains metadata for a single audio stream. Audio information in an AudioMetadata
objects includes the audio codec, the number of audio channels, the duration of the audio stream, and
the sample rate. Audio metadata is returned in each page of information returned by
GetSegmentDetection.GetSegmentDetectionResponse.Builder audioMetadata(AudioMetadata... audioMetadata)
An array of objects. There can be multiple audio streams. Each AudioMetadata object contains
metadata for a single audio stream. Audio information in an AudioMetadata objects includes the
audio codec, the number of audio channels, the duration of the audio stream, and the sample rate. Audio
metadata is returned in each page of information returned by GetSegmentDetection.
audioMetadata - An array of objects. There can be multiple audio streams. Each AudioMetadata object
contains metadata for a single audio stream. Audio information in an AudioMetadata
objects includes the audio codec, the number of audio channels, the duration of the audio stream, and
the sample rate. Audio metadata is returned in each page of information returned by
GetSegmentDetection.GetSegmentDetectionResponse.Builder audioMetadata(Consumer<AudioMetadata.Builder>... audioMetadata)
An array of objects. There can be multiple audio streams. Each AudioMetadata object contains
metadata for a single audio stream. Audio information in an AudioMetadata objects includes the
audio codec, the number of audio channels, the duration of the audio stream, and the sample rate. Audio
metadata is returned in each page of information returned by GetSegmentDetection.
AudioMetadata.Builder avoiding the need to create
one manually via AudioMetadata.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #audioMetadata(List.
audioMetadata - a consumer that will call methods on
AudioMetadata.Builder#audioMetadata(java.util.Collection) GetSegmentDetectionResponse.Builder nextToken(String nextToken)
If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of text.
nextToken - If the previous response was incomplete (because there are more labels to retrieve), Amazon
Rekognition Video returns a pagination token in the response. You can use this pagination token to
retrieve the next set of text.GetSegmentDetectionResponse.Builder segments(Collection<SegmentDetection> segments)
An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or SHOT)
specified in the SegmentTypes input parameter of StartSegmentDetection. Within each
segment type the array is sorted by timestamp values.
segments - An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or
SHOT) specified in the SegmentTypes input parameter of StartSegmentDetection
. Within each segment type the array is sorted by timestamp values.GetSegmentDetectionResponse.Builder segments(SegmentDetection... segments)
An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or SHOT)
specified in the SegmentTypes input parameter of StartSegmentDetection. Within each
segment type the array is sorted by timestamp values.
segments - An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or
SHOT) specified in the SegmentTypes input parameter of StartSegmentDetection
. Within each segment type the array is sorted by timestamp values.GetSegmentDetectionResponse.Builder segments(Consumer<SegmentDetection.Builder>... segments)
An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or SHOT)
specified in the SegmentTypes input parameter of StartSegmentDetection. Within each
segment type the array is sorted by timestamp values.
SegmentDetection.Builder avoiding the need to
create one manually via SegmentDetection.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #segments(List.
segments - a consumer that will call methods on
SegmentDetection.Builder#segments(java.util.Collection) GetSegmentDetectionResponse.Builder selectedSegmentTypes(Collection<SegmentTypeInfo> selectedSegmentTypes)
An array containing the segment types requested in the call to StartSegmentDetection.
selectedSegmentTypes - An array containing the segment types requested in the call to StartSegmentDetection.GetSegmentDetectionResponse.Builder selectedSegmentTypes(SegmentTypeInfo... selectedSegmentTypes)
An array containing the segment types requested in the call to StartSegmentDetection.
selectedSegmentTypes - An array containing the segment types requested in the call to StartSegmentDetection.GetSegmentDetectionResponse.Builder selectedSegmentTypes(Consumer<SegmentTypeInfo.Builder>... selectedSegmentTypes)
An array containing the segment types requested in the call to StartSegmentDetection.
SegmentTypeInfo.Builder avoiding the need to create
one manually via SegmentTypeInfo.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #selectedSegmentTypes(List.
selectedSegmentTypes - a consumer that will call methods on
SegmentTypeInfo.Builder#selectedSegmentTypes(java.util.Collection) Copyright © 2023. All rights reserved.