
com.pulumi.azurenative.media.inputs.ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
/**
* Configures the Explicit Analog Television Output Restriction control bits. For further details see the PlayReady Compliance Rules.
*
*/
public final class ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs extends com.pulumi.resources.ResourceArgs {
public static final ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs Empty = new ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs();
/**
* Indicates whether this restriction is enforced on a Best Effort basis.
*
*/
@Import(name="bestEffort", required=true)
private Output bestEffort;
/**
* @return Indicates whether this restriction is enforced on a Best Effort basis.
*
*/
public Output bestEffort() {
return this.bestEffort;
}
/**
* Configures the restriction control bits. Must be between 0 and 3 inclusive.
*
*/
@Import(name="configurationData", required=true)
private Output configurationData;
/**
* @return Configures the restriction control bits. Must be between 0 and 3 inclusive.
*
*/
public Output configurationData() {
return this.configurationData;
}
private ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs() {}
private ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs(ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs $) {
this.bestEffort = $.bestEffort;
this.configurationData = $.configurationData;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs $;
public Builder() {
$ = new ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs();
}
public Builder(ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs defaults) {
$ = new ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs(Objects.requireNonNull(defaults));
}
/**
* @param bestEffort Indicates whether this restriction is enforced on a Best Effort basis.
*
* @return builder
*
*/
public Builder bestEffort(Output bestEffort) {
$.bestEffort = bestEffort;
return this;
}
/**
* @param bestEffort Indicates whether this restriction is enforced on a Best Effort basis.
*
* @return builder
*
*/
public Builder bestEffort(Boolean bestEffort) {
return bestEffort(Output.of(bestEffort));
}
/**
* @param configurationData Configures the restriction control bits. Must be between 0 and 3 inclusive.
*
* @return builder
*
*/
public Builder configurationData(Output configurationData) {
$.configurationData = configurationData;
return this;
}
/**
* @param configurationData Configures the restriction control bits. Must be between 0 and 3 inclusive.
*
* @return builder
*
*/
public Builder configurationData(Integer configurationData) {
return configurationData(Output.of(configurationData));
}
public ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs build() {
if ($.bestEffort == null) {
throw new MissingRequiredPropertyException("ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs", "bestEffort");
}
if ($.configurationData == null) {
throw new MissingRequiredPropertyException("ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs", "configurationData");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy