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

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

There is a newer version: 2.72.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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;

@CustomType
public final class ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse {
    /**
     * @return Indicates whether this restriction is enforced on a Best Effort basis.
     * 
     */
    private Boolean bestEffort;
    /**
     * @return Configures the restriction control bits. Must be between 0 and 3 inclusive.
     * 
     */
    private Integer configurationData;

    private ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse() {}
    /**
     * @return Indicates whether this restriction is enforced on a Best Effort basis.
     * 
     */
    public Boolean bestEffort() {
        return this.bestEffort;
    }
    /**
     * @return Configures the restriction control bits. Must be between 0 and 3 inclusive.
     * 
     */
    public Integer configurationData() {
        return this.configurationData;
    }

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

    public static Builder builder(ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean bestEffort;
        private Integer configurationData;
        public Builder() {}
        public Builder(ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.bestEffort = defaults.bestEffort;
    	      this.configurationData = defaults.configurationData;
        }

        @CustomType.Setter
        public Builder bestEffort(Boolean bestEffort) {
            if (bestEffort == null) {
              throw new MissingRequiredPropertyException("ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse", "bestEffort");
            }
            this.bestEffort = bestEffort;
            return this;
        }
        @CustomType.Setter
        public Builder configurationData(Integer configurationData) {
            if (configurationData == null) {
              throw new MissingRequiredPropertyException("ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse", "configurationData");
            }
            this.configurationData = configurationData;
            return this;
        }
        public ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse build() {
            final var _resultValue = new ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse();
            _resultValue.bestEffort = bestEffort;
            _resultValue.configurationData = configurationData;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy