All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.media.outputs.TransformOutputResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.azurenative.media.outputs;

import com.pulumi.azurenative.media.outputs.AudioAnalyzerPresetResponse;
import com.pulumi.azurenative.media.outputs.BuiltInStandardEncoderPresetResponse;
import com.pulumi.azurenative.media.outputs.FaceDetectorPresetResponse;
import com.pulumi.azurenative.media.outputs.StandardEncoderPresetResponse;
import com.pulumi.azurenative.media.outputs.VideoAnalyzerPresetResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class TransformOutputResponse {
    /**
     * @return A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with 'ContinueJob'. The default is 'StopProcessingJob'.
     * 
     */
    private @Nullable String onError;
    /**
     * @return Preset that describes the operations that will be used to modify, transcode, or extract insights from the source file to generate the output.
     * 
     */
    private Object preset;
    /**
     * @return Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing TransformOutputs. The default priority is Normal.
     * 
     */
    private @Nullable String relativePriority;

    private TransformOutputResponse() {}
    /**
     * @return A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with 'ContinueJob'. The default is 'StopProcessingJob'.
     * 
     */
    public Optional onError() {
        return Optional.ofNullable(this.onError);
    }
    /**
     * @return Preset that describes the operations that will be used to modify, transcode, or extract insights from the source file to generate the output.
     * 
     */
    public Object preset() {
        return this.preset;
    }
    /**
     * @return Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing TransformOutputs. The default priority is Normal.
     * 
     */
    public Optional relativePriority() {
        return Optional.ofNullable(this.relativePriority);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(TransformOutputResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String onError;
        private Object preset;
        private @Nullable String relativePriority;
        public Builder() {}
        public Builder(TransformOutputResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.onError = defaults.onError;
    	      this.preset = defaults.preset;
    	      this.relativePriority = defaults.relativePriority;
        }

        @CustomType.Setter
        public Builder onError(@Nullable String onError) {

            this.onError = onError;
            return this;
        }
        @CustomType.Setter
        public Builder preset(Object preset) {
            if (preset == null) {
              throw new MissingRequiredPropertyException("TransformOutputResponse", "preset");
            }
            this.preset = preset;
            return this;
        }
        @CustomType.Setter
        public Builder relativePriority(@Nullable String relativePriority) {

            this.relativePriority = relativePriority;
            return this;
        }
        public TransformOutputResponse build() {
            final var _resultValue = new TransformOutputResponse();
            _resultValue.onError = onError;
            _resultValue.preset = preset;
            _resultValue.relativePriority = relativePriority;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy