Interface Trigger.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Trigger.Builder,,Trigger> SdkBuilder<Trigger.Builder,,Trigger> SdkPojo
- Enclosing class:
Trigger
-
Method Summary
Modifier and TypeMethodDescriptiondefault Trigger.BuilderfixedInterval(Consumer<FixedIntervalTrigger.Builder> fixedInterval) Run the function at a fixed interval of content.fixedInterval(FixedIntervalTrigger fixedInterval) Run the function at a fixed interval of content.default Trigger.BuilderperClip(Consumer<ClipTrigger.Builder> perClip) Run the function once for each clip that an event clipping output detects.perClip(ClipTrigger perClip) Run the function once for each clip that an event clipping output detects.default Trigger.BuilderperScene(Consumer<SceneTrigger.Builder> perScene) Run the function once for each scene boundary that a contextual metadata output reports.perScene(SceneTrigger perScene) Run the function once for each scene boundary that a contextual metadata output reports.default Trigger.BuilderperShot(Consumer<ShotTrigger.Builder> perShot) Run the function once for each shot that Elemental Inference detects.perShot(ShotTrigger perShot) Run the function once for each shot that Elemental Inference detects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fixedInterval
Run the function at a fixed interval of content. This is the only trigger for a function that references media.transcript. Can't be used with a function that references media.contextual.
- Parameters:
fixedInterval- Run the function at a fixed interval of content. This is the only trigger for a function that references media.transcript. Can't be used with a function that references media.contextual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixedInterval
Run the function at a fixed interval of content. This is the only trigger for a function that references media.transcript. Can't be used with a function that references media.contextual.
This is a convenience method that creates an instance of theFixedIntervalTrigger.Builderavoiding the need to create one manually viaFixedIntervalTrigger.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofixedInterval(FixedIntervalTrigger).- Parameters:
fixedInterval- a consumer that will call methods onFixedIntervalTrigger.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
perShot
Run the function once for each shot that Elemental Inference detects. Can't be used with a function that references media.transcript or media.clip.
- Parameters:
perShot- Run the function once for each shot that Elemental Inference detects. Can't be used with a function that references media.transcript or media.clip.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
perShot
Run the function once for each shot that Elemental Inference detects. Can't be used with a function that references media.transcript or media.clip.
This is a convenience method that creates an instance of theShotTrigger.Builderavoiding the need to create one manually viaShotTrigger.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperShot(ShotTrigger).- Parameters:
perShot- a consumer that will call methods onShotTrigger.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
perScene
Run the function once for each scene boundary that a contextual metadata output reports. Requires contextualMetadataSettings. Can't be used with a function that references media.transcript or media.clip.
- Parameters:
perScene- Run the function once for each scene boundary that a contextual metadata output reports. Requires contextualMetadataSettings. Can't be used with a function that references media.transcript or media.clip.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
perScene
Run the function once for each scene boundary that a contextual metadata output reports. Requires contextualMetadataSettings. Can't be used with a function that references media.transcript or media.clip.
This is a convenience method that creates an instance of theSceneTrigger.Builderavoiding the need to create one manually viaSceneTrigger.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperScene(SceneTrigger).- Parameters:
perScene- a consumer that will call methods onSceneTrigger.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
perClip
Run the function once for each clip that an event clipping output detects. Requires clippingSettings. Can't be used with a function that references media.transcript or media.contextual.
- Parameters:
perClip- Run the function once for each clip that an event clipping output detects. Requires clippingSettings. Can't be used with a function that references media.transcript or media.contextual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
perClip
Run the function once for each clip that an event clipping output detects. Requires clippingSettings. Can't be used with a function that references media.transcript or media.contextual.
This is a convenience method that creates an instance of theClipTrigger.Builderavoiding the need to create one manually viaClipTrigger.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperClip(ClipTrigger).- Parameters:
perClip- a consumer that will call methods onClipTrigger.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-