Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.aws.elastictranscoder.inputs.PresetState Maven / Gradle / Ivy
Go to download
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.elastictranscoder.inputs;
import com.pulumi.aws.elastictranscoder.inputs.PresetAudioArgs;
import com.pulumi.aws.elastictranscoder.inputs.PresetAudioCodecOptionsArgs;
import com.pulumi.aws.elastictranscoder.inputs.PresetThumbnailsArgs;
import com.pulumi.aws.elastictranscoder.inputs.PresetVideoArgs;
import com.pulumi.aws.elastictranscoder.inputs.PresetVideoWatermarkArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class PresetState extends com.pulumi.resources.ResourceArgs {
public static final PresetState Empty = new PresetState();
/**
* Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
*
*/
@Import(name="arn")
private @Nullable Output arn;
/**
* @return Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
*
*/
public Optional> arn() {
return Optional.ofNullable(this.arn);
}
/**
* Audio parameters object (documented below).
*
*/
@Import(name="audio")
private @Nullable Output audio;
/**
* @return Audio parameters object (documented below).
*
*/
public Optional> audio() {
return Optional.ofNullable(this.audio);
}
/**
* Codec options for the audio parameters (documented below)
*
*/
@Import(name="audioCodecOptions")
private @Nullable Output audioCodecOptions;
/**
* @return Codec options for the audio parameters (documented below)
*
*/
public Optional> audioCodecOptions() {
return Optional.ofNullable(this.audioCodecOptions);
}
/**
* The container type for the output file. Valid values are `flac`, `flv`, `fmp4`, `gif`, `mp3`, `mp4`, `mpg`, `mxf`, `oga`, `ogg`, `ts`, and `webm`.
*
*/
@Import(name="container")
private @Nullable Output container;
/**
* @return The container type for the output file. Valid values are `flac`, `flv`, `fmp4`, `gif`, `mp3`, `mp4`, `mpg`, `mxf`, `oga`, `ogg`, `ts`, and `webm`.
*
*/
public Optional> container() {
return Optional.ofNullable(this.container);
}
/**
* A description of the preset (maximum 255 characters)
*
*/
@Import(name="description")
private @Nullable Output description;
/**
* @return A description of the preset (maximum 255 characters)
*
*/
public Optional> description() {
return Optional.ofNullable(this.description);
}
/**
* The name of the preset. (maximum 40 characters)
*
*/
@Import(name="name")
private @Nullable Output name;
/**
* @return The name of the preset. (maximum 40 characters)
*
*/
public Optional> name() {
return Optional.ofNullable(this.name);
}
/**
* Thumbnail parameters object (documented below)
*
*/
@Import(name="thumbnails")
private @Nullable Output thumbnails;
/**
* @return Thumbnail parameters object (documented below)
*
*/
public Optional> thumbnails() {
return Optional.ofNullable(this.thumbnails);
}
@Import(name="type")
private @Nullable Output type;
public Optional> type() {
return Optional.ofNullable(this.type);
}
/**
* Video parameters object (documented below)
*
*/
@Import(name="video")
private @Nullable Output video;
/**
* @return Video parameters object (documented below)
*
*/
public Optional> video() {
return Optional.ofNullable(this.video);
}
/**
* Codec options for the video parameters
*
*/
@Import(name="videoCodecOptions")
private @Nullable Output> videoCodecOptions;
/**
* @return Codec options for the video parameters
*
*/
public Optional>> videoCodecOptions() {
return Optional.ofNullable(this.videoCodecOptions);
}
/**
* Watermark parameters for the video parameters (documented below)
*
*/
@Import(name="videoWatermarks")
private @Nullable Output> videoWatermarks;
/**
* @return Watermark parameters for the video parameters (documented below)
*
*/
public Optional>> videoWatermarks() {
return Optional.ofNullable(this.videoWatermarks);
}
private PresetState() {}
private PresetState(PresetState $) {
this.arn = $.arn;
this.audio = $.audio;
this.audioCodecOptions = $.audioCodecOptions;
this.container = $.container;
this.description = $.description;
this.name = $.name;
this.thumbnails = $.thumbnails;
this.type = $.type;
this.video = $.video;
this.videoCodecOptions = $.videoCodecOptions;
this.videoWatermarks = $.videoWatermarks;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PresetState defaults) {
return new Builder(defaults);
}
public static final class Builder {
private PresetState $;
public Builder() {
$ = new PresetState();
}
public Builder(PresetState defaults) {
$ = new PresetState(Objects.requireNonNull(defaults));
}
/**
* @param arn Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
*
* @return builder
*
*/
public Builder arn(@Nullable Output arn) {
$.arn = arn;
return this;
}
/**
* @param arn Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
*
* @return builder
*
*/
public Builder arn(String arn) {
return arn(Output.of(arn));
}
/**
* @param audio Audio parameters object (documented below).
*
* @return builder
*
*/
public Builder audio(@Nullable Output audio) {
$.audio = audio;
return this;
}
/**
* @param audio Audio parameters object (documented below).
*
* @return builder
*
*/
public Builder audio(PresetAudioArgs audio) {
return audio(Output.of(audio));
}
/**
* @param audioCodecOptions Codec options for the audio parameters (documented below)
*
* @return builder
*
*/
public Builder audioCodecOptions(@Nullable Output audioCodecOptions) {
$.audioCodecOptions = audioCodecOptions;
return this;
}
/**
* @param audioCodecOptions Codec options for the audio parameters (documented below)
*
* @return builder
*
*/
public Builder audioCodecOptions(PresetAudioCodecOptionsArgs audioCodecOptions) {
return audioCodecOptions(Output.of(audioCodecOptions));
}
/**
* @param container The container type for the output file. Valid values are `flac`, `flv`, `fmp4`, `gif`, `mp3`, `mp4`, `mpg`, `mxf`, `oga`, `ogg`, `ts`, and `webm`.
*
* @return builder
*
*/
public Builder container(@Nullable Output container) {
$.container = container;
return this;
}
/**
* @param container The container type for the output file. Valid values are `flac`, `flv`, `fmp4`, `gif`, `mp3`, `mp4`, `mpg`, `mxf`, `oga`, `ogg`, `ts`, and `webm`.
*
* @return builder
*
*/
public Builder container(String container) {
return container(Output.of(container));
}
/**
* @param description A description of the preset (maximum 255 characters)
*
* @return builder
*
*/
public Builder description(@Nullable Output description) {
$.description = description;
return this;
}
/**
* @param description A description of the preset (maximum 255 characters)
*
* @return builder
*
*/
public Builder description(String description) {
return description(Output.of(description));
}
/**
* @param name The name of the preset. (maximum 40 characters)
*
* @return builder
*
*/
public Builder name(@Nullable Output name) {
$.name = name;
return this;
}
/**
* @param name The name of the preset. (maximum 40 characters)
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param thumbnails Thumbnail parameters object (documented below)
*
* @return builder
*
*/
public Builder thumbnails(@Nullable Output thumbnails) {
$.thumbnails = thumbnails;
return this;
}
/**
* @param thumbnails Thumbnail parameters object (documented below)
*
* @return builder
*
*/
public Builder thumbnails(PresetThumbnailsArgs thumbnails) {
return thumbnails(Output.of(thumbnails));
}
public Builder type(@Nullable Output type) {
$.type = type;
return this;
}
public Builder type(String type) {
return type(Output.of(type));
}
/**
* @param video Video parameters object (documented below)
*
* @return builder
*
*/
public Builder video(@Nullable Output video) {
$.video = video;
return this;
}
/**
* @param video Video parameters object (documented below)
*
* @return builder
*
*/
public Builder video(PresetVideoArgs video) {
return video(Output.of(video));
}
/**
* @param videoCodecOptions Codec options for the video parameters
*
* @return builder
*
*/
public Builder videoCodecOptions(@Nullable Output> videoCodecOptions) {
$.videoCodecOptions = videoCodecOptions;
return this;
}
/**
* @param videoCodecOptions Codec options for the video parameters
*
* @return builder
*
*/
public Builder videoCodecOptions(Map videoCodecOptions) {
return videoCodecOptions(Output.of(videoCodecOptions));
}
/**
* @param videoWatermarks Watermark parameters for the video parameters (documented below)
*
* @return builder
*
*/
public Builder videoWatermarks(@Nullable Output> videoWatermarks) {
$.videoWatermarks = videoWatermarks;
return this;
}
/**
* @param videoWatermarks Watermark parameters for the video parameters (documented below)
*
* @return builder
*
*/
public Builder videoWatermarks(List videoWatermarks) {
return videoWatermarks(Output.of(videoWatermarks));
}
/**
* @param videoWatermarks Watermark parameters for the video parameters (documented below)
*
* @return builder
*
*/
public Builder videoWatermarks(PresetVideoWatermarkArgs... videoWatermarks) {
return videoWatermarks(List.of(videoWatermarks));
}
public PresetState build() {
return $;
}
}
}