Interface StartSegmentDetectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartSegmentDetectionRequest.Builder,StartSegmentDetectionRequest>,RekognitionRequest.Builder,SdkBuilder<StartSegmentDetectionRequest.Builder,StartSegmentDetectionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartSegmentDetectionRequest
public static interface StartSegmentDetectionRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<StartSegmentDetectionRequest.Builder,StartSegmentDetectionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartSegmentDetectionRequest.BuilderclientRequestToken(String clientRequestToken)Idempotent token used to identify the start request.default StartSegmentDetectionRequest.Builderfilters(Consumer<StartSegmentDetectionFilters.Builder> filters)Filters for technical cue or shot detection.StartSegmentDetectionRequest.Builderfilters(StartSegmentDetectionFilters filters)Filters for technical cue or shot detection.StartSegmentDetectionRequest.BuilderjobTag(String jobTag)An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.default StartSegmentDetectionRequest.BuildernotificationChannel(Consumer<NotificationChannel.Builder> notificationChannel)The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation.StartSegmentDetectionRequest.BuildernotificationChannel(NotificationChannel notificationChannel)The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation.StartSegmentDetectionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartSegmentDetectionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartSegmentDetectionRequest.BuildersegmentTypes(Collection<SegmentType> segmentTypes)An array of segment types to detect in the video.StartSegmentDetectionRequest.BuildersegmentTypes(SegmentType... segmentTypes)An array of segment types to detect in the video.StartSegmentDetectionRequest.BuildersegmentTypesWithStrings(String... segmentTypes)An array of segment types to detect in the video.StartSegmentDetectionRequest.BuildersegmentTypesWithStrings(Collection<String> segmentTypes)An array of segment types to detect in the video.default StartSegmentDetectionRequest.Buildervideo(Consumer<Video.Builder> video)Sets the value of the Video property for this object.StartSegmentDetectionRequest.Buildervideo(Video video)Sets the value of the Video property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
video
StartSegmentDetectionRequest.Builder video(Video video)
Sets the value of the Video property for this object.- Parameters:
video- The new value for the Video property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
default StartSegmentDetectionRequest.Builder video(Consumer<Video.Builder> video)
Sets the value of the Video property for this object. This is a convenience method that creates an instance of theVideo.Builderavoiding the need to create one manually viaVideo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovideo(Video).- Parameters:
video- a consumer that will call methods onVideo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
video(Video)
-
clientRequestToken
StartSegmentDetectionRequest.Builder clientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request. If you use the same token with multiple
StartSegmentDetectionrequests, the sameJobIdis returned. UseClientRequestTokento prevent the same job from being accidently started more than once.- Parameters:
clientRequestToken- Idempotent token used to identify the start request. If you use the same token with multipleStartSegmentDetectionrequests, the sameJobIdis returned. UseClientRequestTokento prevent the same job from being accidently started more than once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationChannel
StartSegmentDetectionRequest.Builder notificationChannel(NotificationChannel notificationChannel)
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
- Parameters:
notificationChannel- The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationChannel
default StartSegmentDetectionRequest.Builder notificationChannel(Consumer<NotificationChannel.Builder> notificationChannel)
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
This is a convenience method that creates an instance of theNotificationChannel.Builderavoiding the need to create one manually viaNotificationChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationChannel(NotificationChannel).- Parameters:
notificationChannel- a consumer that will call methods onNotificationChannel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
notificationChannel(NotificationChannel)
-
jobTag
StartSegmentDetectionRequest.Builder jobTag(String jobTag)
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use
JobTagto group related jobs and identify them in the completion notification.- Parameters:
jobTag- An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can useJobTagto group related jobs and identify them in the completion notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
StartSegmentDetectionRequest.Builder filters(StartSegmentDetectionFilters filters)
Filters for technical cue or shot detection.
- Parameters:
filters- Filters for technical cue or shot detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default StartSegmentDetectionRequest.Builder filters(Consumer<StartSegmentDetectionFilters.Builder> filters)
Filters for technical cue or shot detection.
This is a convenience method that creates an instance of theStartSegmentDetectionFilters.Builderavoiding the need to create one manually viaStartSegmentDetectionFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(StartSegmentDetectionFilters).- Parameters:
filters- a consumer that will call methods onStartSegmentDetectionFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filters(StartSegmentDetectionFilters)
-
segmentTypesWithStrings
StartSegmentDetectionRequest.Builder segmentTypesWithStrings(Collection<String> segmentTypes)
An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.
- Parameters:
segmentTypes- An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentTypesWithStrings
StartSegmentDetectionRequest.Builder segmentTypesWithStrings(String... segmentTypes)
An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.
- Parameters:
segmentTypes- An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentTypes
StartSegmentDetectionRequest.Builder segmentTypes(Collection<SegmentType> segmentTypes)
An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.
- Parameters:
segmentTypes- An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentTypes
StartSegmentDetectionRequest.Builder segmentTypes(SegmentType... segmentTypes)
An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.
- Parameters:
segmentTypes- An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartSegmentDetectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartSegmentDetectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-