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

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

// *** 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.ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ContentKeyPolicyPlayReadyPlayRightResponse {
    /**
     * @return Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
     * 
     */
    private @Nullable Integer agcAndColorStripeRestriction;
    /**
     * @return Configures Unknown output handling settings of the license.
     * 
     */
    private String allowPassingVideoContentToUnknownOutput;
    /**
     * @return Specifies the output protection level for compressed digital audio.
     * 
     */
    private @Nullable Integer analogVideoOpl;
    /**
     * @return Specifies the output protection level for compressed digital audio.
     * 
     */
    private @Nullable Integer compressedDigitalAudioOpl;
    /**
     * @return Specifies the output protection level for compressed digital video.
     * 
     */
    private @Nullable Integer compressedDigitalVideoOpl;
    /**
     * @return Enables the Image Constraint For Analog Component Video Restriction in the license.
     * 
     */
    private Boolean digitalVideoOnlyContentRestriction;
    /**
     * @return Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
     * 
     */
    private @Nullable ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse explicitAnalogTelevisionOutputRestriction;
    /**
     * @return The amount of time that the license is valid after the license is first used to play content.
     * 
     */
    private @Nullable String firstPlayExpiration;
    /**
     * @return Enables the Image Constraint For Analog Component Video Restriction in the license.
     * 
     */
    private Boolean imageConstraintForAnalogComponentVideoRestriction;
    /**
     * @return Enables the Image Constraint For Analog Component Video Restriction in the license.
     * 
     */
    private Boolean imageConstraintForAnalogComputerMonitorRestriction;
    /**
     * @return Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
     * 
     */
    private @Nullable Integer scmsRestriction;
    /**
     * @return Specifies the output protection level for uncompressed digital audio.
     * 
     */
    private @Nullable Integer uncompressedDigitalAudioOpl;
    /**
     * @return Specifies the output protection level for uncompressed digital video.
     * 
     */
    private @Nullable Integer uncompressedDigitalVideoOpl;

    private ContentKeyPolicyPlayReadyPlayRightResponse() {}
    /**
     * @return Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
     * 
     */
    public Optional agcAndColorStripeRestriction() {
        return Optional.ofNullable(this.agcAndColorStripeRestriction);
    }
    /**
     * @return Configures Unknown output handling settings of the license.
     * 
     */
    public String allowPassingVideoContentToUnknownOutput() {
        return this.allowPassingVideoContentToUnknownOutput;
    }
    /**
     * @return Specifies the output protection level for compressed digital audio.
     * 
     */
    public Optional analogVideoOpl() {
        return Optional.ofNullable(this.analogVideoOpl);
    }
    /**
     * @return Specifies the output protection level for compressed digital audio.
     * 
     */
    public Optional compressedDigitalAudioOpl() {
        return Optional.ofNullable(this.compressedDigitalAudioOpl);
    }
    /**
     * @return Specifies the output protection level for compressed digital video.
     * 
     */
    public Optional compressedDigitalVideoOpl() {
        return Optional.ofNullable(this.compressedDigitalVideoOpl);
    }
    /**
     * @return Enables the Image Constraint For Analog Component Video Restriction in the license.
     * 
     */
    public Boolean digitalVideoOnlyContentRestriction() {
        return this.digitalVideoOnlyContentRestriction;
    }
    /**
     * @return Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
     * 
     */
    public Optional explicitAnalogTelevisionOutputRestriction() {
        return Optional.ofNullable(this.explicitAnalogTelevisionOutputRestriction);
    }
    /**
     * @return The amount of time that the license is valid after the license is first used to play content.
     * 
     */
    public Optional firstPlayExpiration() {
        return Optional.ofNullable(this.firstPlayExpiration);
    }
    /**
     * @return Enables the Image Constraint For Analog Component Video Restriction in the license.
     * 
     */
    public Boolean imageConstraintForAnalogComponentVideoRestriction() {
        return this.imageConstraintForAnalogComponentVideoRestriction;
    }
    /**
     * @return Enables the Image Constraint For Analog Component Video Restriction in the license.
     * 
     */
    public Boolean imageConstraintForAnalogComputerMonitorRestriction() {
        return this.imageConstraintForAnalogComputerMonitorRestriction;
    }
    /**
     * @return Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
     * 
     */
    public Optional scmsRestriction() {
        return Optional.ofNullable(this.scmsRestriction);
    }
    /**
     * @return Specifies the output protection level for uncompressed digital audio.
     * 
     */
    public Optional uncompressedDigitalAudioOpl() {
        return Optional.ofNullable(this.uncompressedDigitalAudioOpl);
    }
    /**
     * @return Specifies the output protection level for uncompressed digital video.
     * 
     */
    public Optional uncompressedDigitalVideoOpl() {
        return Optional.ofNullable(this.uncompressedDigitalVideoOpl);
    }

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

    public static Builder builder(ContentKeyPolicyPlayReadyPlayRightResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer agcAndColorStripeRestriction;
        private String allowPassingVideoContentToUnknownOutput;
        private @Nullable Integer analogVideoOpl;
        private @Nullable Integer compressedDigitalAudioOpl;
        private @Nullable Integer compressedDigitalVideoOpl;
        private Boolean digitalVideoOnlyContentRestriction;
        private @Nullable ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse explicitAnalogTelevisionOutputRestriction;
        private @Nullable String firstPlayExpiration;
        private Boolean imageConstraintForAnalogComponentVideoRestriction;
        private Boolean imageConstraintForAnalogComputerMonitorRestriction;
        private @Nullable Integer scmsRestriction;
        private @Nullable Integer uncompressedDigitalAudioOpl;
        private @Nullable Integer uncompressedDigitalVideoOpl;
        public Builder() {}
        public Builder(ContentKeyPolicyPlayReadyPlayRightResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.agcAndColorStripeRestriction = defaults.agcAndColorStripeRestriction;
    	      this.allowPassingVideoContentToUnknownOutput = defaults.allowPassingVideoContentToUnknownOutput;
    	      this.analogVideoOpl = defaults.analogVideoOpl;
    	      this.compressedDigitalAudioOpl = defaults.compressedDigitalAudioOpl;
    	      this.compressedDigitalVideoOpl = defaults.compressedDigitalVideoOpl;
    	      this.digitalVideoOnlyContentRestriction = defaults.digitalVideoOnlyContentRestriction;
    	      this.explicitAnalogTelevisionOutputRestriction = defaults.explicitAnalogTelevisionOutputRestriction;
    	      this.firstPlayExpiration = defaults.firstPlayExpiration;
    	      this.imageConstraintForAnalogComponentVideoRestriction = defaults.imageConstraintForAnalogComponentVideoRestriction;
    	      this.imageConstraintForAnalogComputerMonitorRestriction = defaults.imageConstraintForAnalogComputerMonitorRestriction;
    	      this.scmsRestriction = defaults.scmsRestriction;
    	      this.uncompressedDigitalAudioOpl = defaults.uncompressedDigitalAudioOpl;
    	      this.uncompressedDigitalVideoOpl = defaults.uncompressedDigitalVideoOpl;
        }

        @CustomType.Setter
        public Builder agcAndColorStripeRestriction(@Nullable Integer agcAndColorStripeRestriction) {

            this.agcAndColorStripeRestriction = agcAndColorStripeRestriction;
            return this;
        }
        @CustomType.Setter
        public Builder allowPassingVideoContentToUnknownOutput(String allowPassingVideoContentToUnknownOutput) {
            if (allowPassingVideoContentToUnknownOutput == null) {
              throw new MissingRequiredPropertyException("ContentKeyPolicyPlayReadyPlayRightResponse", "allowPassingVideoContentToUnknownOutput");
            }
            this.allowPassingVideoContentToUnknownOutput = allowPassingVideoContentToUnknownOutput;
            return this;
        }
        @CustomType.Setter
        public Builder analogVideoOpl(@Nullable Integer analogVideoOpl) {

            this.analogVideoOpl = analogVideoOpl;
            return this;
        }
        @CustomType.Setter
        public Builder compressedDigitalAudioOpl(@Nullable Integer compressedDigitalAudioOpl) {

            this.compressedDigitalAudioOpl = compressedDigitalAudioOpl;
            return this;
        }
        @CustomType.Setter
        public Builder compressedDigitalVideoOpl(@Nullable Integer compressedDigitalVideoOpl) {

            this.compressedDigitalVideoOpl = compressedDigitalVideoOpl;
            return this;
        }
        @CustomType.Setter
        public Builder digitalVideoOnlyContentRestriction(Boolean digitalVideoOnlyContentRestriction) {
            if (digitalVideoOnlyContentRestriction == null) {
              throw new MissingRequiredPropertyException("ContentKeyPolicyPlayReadyPlayRightResponse", "digitalVideoOnlyContentRestriction");
            }
            this.digitalVideoOnlyContentRestriction = digitalVideoOnlyContentRestriction;
            return this;
        }
        @CustomType.Setter
        public Builder explicitAnalogTelevisionOutputRestriction(@Nullable ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse explicitAnalogTelevisionOutputRestriction) {

            this.explicitAnalogTelevisionOutputRestriction = explicitAnalogTelevisionOutputRestriction;
            return this;
        }
        @CustomType.Setter
        public Builder firstPlayExpiration(@Nullable String firstPlayExpiration) {

            this.firstPlayExpiration = firstPlayExpiration;
            return this;
        }
        @CustomType.Setter
        public Builder imageConstraintForAnalogComponentVideoRestriction(Boolean imageConstraintForAnalogComponentVideoRestriction) {
            if (imageConstraintForAnalogComponentVideoRestriction == null) {
              throw new MissingRequiredPropertyException("ContentKeyPolicyPlayReadyPlayRightResponse", "imageConstraintForAnalogComponentVideoRestriction");
            }
            this.imageConstraintForAnalogComponentVideoRestriction = imageConstraintForAnalogComponentVideoRestriction;
            return this;
        }
        @CustomType.Setter
        public Builder imageConstraintForAnalogComputerMonitorRestriction(Boolean imageConstraintForAnalogComputerMonitorRestriction) {
            if (imageConstraintForAnalogComputerMonitorRestriction == null) {
              throw new MissingRequiredPropertyException("ContentKeyPolicyPlayReadyPlayRightResponse", "imageConstraintForAnalogComputerMonitorRestriction");
            }
            this.imageConstraintForAnalogComputerMonitorRestriction = imageConstraintForAnalogComputerMonitorRestriction;
            return this;
        }
        @CustomType.Setter
        public Builder scmsRestriction(@Nullable Integer scmsRestriction) {

            this.scmsRestriction = scmsRestriction;
            return this;
        }
        @CustomType.Setter
        public Builder uncompressedDigitalAudioOpl(@Nullable Integer uncompressedDigitalAudioOpl) {

            this.uncompressedDigitalAudioOpl = uncompressedDigitalAudioOpl;
            return this;
        }
        @CustomType.Setter
        public Builder uncompressedDigitalVideoOpl(@Nullable Integer uncompressedDigitalVideoOpl) {

            this.uncompressedDigitalVideoOpl = uncompressedDigitalVideoOpl;
            return this;
        }
        public ContentKeyPolicyPlayReadyPlayRightResponse build() {
            final var _resultValue = new ContentKeyPolicyPlayReadyPlayRightResponse();
            _resultValue.agcAndColorStripeRestriction = agcAndColorStripeRestriction;
            _resultValue.allowPassingVideoContentToUnknownOutput = allowPassingVideoContentToUnknownOutput;
            _resultValue.analogVideoOpl = analogVideoOpl;
            _resultValue.compressedDigitalAudioOpl = compressedDigitalAudioOpl;
            _resultValue.compressedDigitalVideoOpl = compressedDigitalVideoOpl;
            _resultValue.digitalVideoOnlyContentRestriction = digitalVideoOnlyContentRestriction;
            _resultValue.explicitAnalogTelevisionOutputRestriction = explicitAnalogTelevisionOutputRestriction;
            _resultValue.firstPlayExpiration = firstPlayExpiration;
            _resultValue.imageConstraintForAnalogComponentVideoRestriction = imageConstraintForAnalogComponentVideoRestriction;
            _resultValue.imageConstraintForAnalogComputerMonitorRestriction = imageConstraintForAnalogComputerMonitorRestriction;
            _resultValue.scmsRestriction = scmsRestriction;
            _resultValue.uncompressedDigitalAudioOpl = uncompressedDigitalAudioOpl;
            _resultValue.uncompressedDigitalVideoOpl = uncompressedDigitalVideoOpl;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy