Interface FunctionConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FunctionConfig.Builder,,FunctionConfig> SdkBuilder<FunctionConfig.Builder,,FunctionConfig> SdkPojo
- Enclosing class:
FunctionConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault FunctionConfig.BuilderclippingSettings(Consumer<ClippingSettings.Builder> clippingSettings) The event clipping output on this feed to read clips from.clippingSettings(ClippingSettings clippingSettings) The event clipping output on this feed to read clips from.default FunctionConfig.BuildercontextualMetadataSettings(Consumer<ContextualMetadataSettings.Builder> contextualMetadataSettings) The contextual metadata output on this feed to read scenes and classifications from.contextualMetadataSettings(ContextualMetadataSettings contextualMetadataSettings) The contextual metadata output on this feed to read scenes and classifications from.default FunctionConfig.BuilderframeSettings(Consumer<FrameSettings.Builder> frameSettings) The frames to send on each run: how many, which ones, and at what size.frameSettings(FrameSettings frameSettings) The frames to send on each run: how many, which ones, and at what size.functionArn(String functionArn) The ARN of the function to run.default FunctionConfig.BuildersubtitlingSettings(Consumer<SubtitlingSettings.Builder> subtitlingSettings) The smart subtitles output on this feed to read the transcript from.subtitlingSettings(SubtitlingSettings subtitlingSettings) The smart subtitles output on this feed to read the transcript from.default FunctionConfig.Buildertrigger(Consumer<Trigger.Builder> trigger) Determines when the function runs.Determines when the function runs.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
-
functionArn
The ARN of the function to run. The function must exist in the same account and the same Region as the feed.
- Parameters:
functionArn- The ARN of the function to run. The function must exist in the same account and the same Region as the feed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trigger
Determines when the function runs.
- Parameters:
trigger- Determines when the function runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trigger
Determines when the function runs.
This is a convenience method that creates an instance of theTrigger.Builderavoiding the need to create one manually viaTrigger.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrigger(Trigger).- Parameters:
trigger- a consumer that will call methods onTrigger.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
frameSettings
The frames to send on each run: how many, which ones, and at what size. Applies to a function that references media.frames. If you omit this structure, Elemental Inference sends the first frame of the window, at its source size.
- Parameters:
frameSettings- The frames to send on each run: how many, which ones, and at what size. Applies to a function that references media.frames. If you omit this structure, Elemental Inference sends the first frame of the window, at its source size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameSettings
The frames to send on each run: how many, which ones, and at what size. Applies to a function that references media.frames. If you omit this structure, Elemental Inference sends the first frame of the window, at its source size.
This is a convenience method that creates an instance of theFrameSettings.Builderavoiding the need to create one manually viaFrameSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toframeSettings(FrameSettings).- Parameters:
frameSettings- a consumer that will call methods onFrameSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subtitlingSettings
The smart subtitles output on this feed to read the transcript from. Required for a function that references media.transcript.
- Parameters:
subtitlingSettings- The smart subtitles output on this feed to read the transcript from. Required for a function that references media.transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subtitlingSettings
default FunctionConfig.Builder subtitlingSettings(Consumer<SubtitlingSettings.Builder> subtitlingSettings) The smart subtitles output on this feed to read the transcript from. Required for a function that references media.transcript.
This is a convenience method that creates an instance of theSubtitlingSettings.Builderavoiding the need to create one manually viaSubtitlingSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubtitlingSettings(SubtitlingSettings).- Parameters:
subtitlingSettings- a consumer that will call methods onSubtitlingSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contextualMetadataSettings
FunctionConfig.Builder contextualMetadataSettings(ContextualMetadataSettings contextualMetadataSettings) The contextual metadata output on this feed to read scenes and classifications from. Required for a perScene trigger, and for a function that references media.contextual on a perShot trigger.
- Parameters:
contextualMetadataSettings- The contextual metadata output on this feed to read scenes and classifications from. Required for a perScene trigger, and for a function that references media.contextual on a perShot trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextualMetadataSettings
default FunctionConfig.Builder contextualMetadataSettings(Consumer<ContextualMetadataSettings.Builder> contextualMetadataSettings) The contextual metadata output on this feed to read scenes and classifications from. Required for a perScene trigger, and for a function that references media.contextual on a perShot trigger.
This is a convenience method that creates an instance of theContextualMetadataSettings.Builderavoiding the need to create one manually viaContextualMetadataSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontextualMetadataSettings(ContextualMetadataSettings).- Parameters:
contextualMetadataSettings- a consumer that will call methods onContextualMetadataSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clippingSettings
The event clipping output on this feed to read clips from. Required for a perClip trigger, and for a function that references media.clip.
- Parameters:
clippingSettings- The event clipping output on this feed to read clips from. Required for a perClip trigger, and for a function that references media.clip.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clippingSettings
default FunctionConfig.Builder clippingSettings(Consumer<ClippingSettings.Builder> clippingSettings) The event clipping output on this feed to read clips from. Required for a perClip trigger, and for a function that references media.clip.
This is a convenience method that creates an instance of theClippingSettings.Builderavoiding the need to create one manually viaClippingSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclippingSettings(ClippingSettings).- Parameters:
clippingSettings- a consumer that will call methods onClippingSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-