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

com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for MediaServices Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. This Swagger was generated by the API Framework. Package tag package-account-2023-01.

There is a newer version: 2.4.0-beta.2
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.mediaservices.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Configures the Explicit Analog Television Output Restriction control bits. For further details see the PlayReady
 * Compliance Rules.
 */
@Fluent
public final class ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction {
    /*
     * Indicates whether this restriction is enforced on a Best Effort basis.
     */
    @JsonProperty(value = "bestEffort", required = true)
    private boolean bestEffort;

    /*
     * Configures the restriction control bits. Must be between 0 and 3
     * inclusive.
     */
    @JsonProperty(value = "configurationData", required = true)
    private int configurationData;

    /**
     * Get the bestEffort property: Indicates whether this restriction is enforced on a Best Effort basis.
     *
     * @return the bestEffort value.
     */
    public boolean bestEffort() {
        return this.bestEffort;
    }

    /**
     * Set the bestEffort property: Indicates whether this restriction is enforced on a Best Effort basis.
     *
     * @param bestEffort the bestEffort value to set.
     * @return the ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction object itself.
     */
    public ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction withBestEffort(boolean bestEffort) {
        this.bestEffort = bestEffort;
        return this;
    }

    /**
     * Get the configurationData property: Configures the restriction control bits. Must be between 0 and 3 inclusive.
     *
     * @return the configurationData value.
     */
    public int configurationData() {
        return this.configurationData;
    }

    /**
     * Set the configurationData property: Configures the restriction control bits. Must be between 0 and 3 inclusive.
     *
     * @param configurationData the configurationData value to set.
     * @return the ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction object itself.
     */
    public ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction withConfigurationData(int configurationData) {
        this.configurationData = configurationData;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy