com.pulumi.aws.medialive.outputs.ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.medialive.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettings {
/**
* @return If you will configure a WebVTT caption description that references this caption selector, use this field to provide the language to consider when translating the image-based source to text.
*
*/
private @Nullable String ocrLanguage;
/**
* @return When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors.
*
*/
private @Nullable Integer pid;
private ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettings() {}
/**
* @return If you will configure a WebVTT caption description that references this caption selector, use this field to provide the language to consider when translating the image-based source to text.
*
*/
public Optional ocrLanguage() {
return Optional.ofNullable(this.ocrLanguage);
}
/**
* @return When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors.
*
*/
public Optional pid() {
return Optional.ofNullable(this.pid);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettings defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String ocrLanguage;
private @Nullable Integer pid;
public Builder() {}
public Builder(ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettings defaults) {
Objects.requireNonNull(defaults);
this.ocrLanguage = defaults.ocrLanguage;
this.pid = defaults.pid;
}
@CustomType.Setter
public Builder ocrLanguage(@Nullable String ocrLanguage) {
this.ocrLanguage = ocrLanguage;
return this;
}
@CustomType.Setter
public Builder pid(@Nullable Integer pid) {
this.pid = pid;
return this;
}
public ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettings build() {
final var _resultValue = new ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettings();
_resultValue.ocrLanguage = ocrLanguage;
_resultValue.pid = pid;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy