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

com.pulumi.azurenative.media.inputs.CbcsDrmConfigurationArgs Maven / Gradle / Ivy

The 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.inputs;

import com.pulumi.azurenative.media.inputs.StreamingPolicyFairPlayConfigurationArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyPlayReadyConfigurationArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyWidevineConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Class to specify DRM configurations of CommonEncryptionCbcs scheme in Streaming Policy
 * 
 */
public final class CbcsDrmConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final CbcsDrmConfigurationArgs Empty = new CbcsDrmConfigurationArgs();

    /**
     * FairPlay configurations
     * 
     */
    @Import(name="fairPlay")
    private @Nullable Output fairPlay;

    /**
     * @return FairPlay configurations
     * 
     */
    public Optional> fairPlay() {
        return Optional.ofNullable(this.fairPlay);
    }

    /**
     * PlayReady configurations
     * 
     */
    @Import(name="playReady")
    private @Nullable Output playReady;

    /**
     * @return PlayReady configurations
     * 
     */
    public Optional> playReady() {
        return Optional.ofNullable(this.playReady);
    }

    /**
     * Widevine configurations
     * 
     */
    @Import(name="widevine")
    private @Nullable Output widevine;

    /**
     * @return Widevine configurations
     * 
     */
    public Optional> widevine() {
        return Optional.ofNullable(this.widevine);
    }

    private CbcsDrmConfigurationArgs() {}

    private CbcsDrmConfigurationArgs(CbcsDrmConfigurationArgs $) {
        this.fairPlay = $.fairPlay;
        this.playReady = $.playReady;
        this.widevine = $.widevine;
    }

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

    public static final class Builder {
        private CbcsDrmConfigurationArgs $;

        public Builder() {
            $ = new CbcsDrmConfigurationArgs();
        }

        public Builder(CbcsDrmConfigurationArgs defaults) {
            $ = new CbcsDrmConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param fairPlay FairPlay configurations
         * 
         * @return builder
         * 
         */
        public Builder fairPlay(@Nullable Output fairPlay) {
            $.fairPlay = fairPlay;
            return this;
        }

        /**
         * @param fairPlay FairPlay configurations
         * 
         * @return builder
         * 
         */
        public Builder fairPlay(StreamingPolicyFairPlayConfigurationArgs fairPlay) {
            return fairPlay(Output.of(fairPlay));
        }

        /**
         * @param playReady PlayReady configurations
         * 
         * @return builder
         * 
         */
        public Builder playReady(@Nullable Output playReady) {
            $.playReady = playReady;
            return this;
        }

        /**
         * @param playReady PlayReady configurations
         * 
         * @return builder
         * 
         */
        public Builder playReady(StreamingPolicyPlayReadyConfigurationArgs playReady) {
            return playReady(Output.of(playReady));
        }

        /**
         * @param widevine Widevine configurations
         * 
         * @return builder
         * 
         */
        public Builder widevine(@Nullable Output widevine) {
            $.widevine = widevine;
            return this;
        }

        /**
         * @param widevine Widevine configurations
         * 
         * @return builder
         * 
         */
        public Builder widevine(StreamingPolicyWidevineConfigurationArgs widevine) {
            return widevine(Output.of(widevine));
        }

        public CbcsDrmConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy