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

com.pulumi.azurenative.media.inputs.ContentKeyPolicyWidevineConfigurationArgs 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * Specifies a configuration for Widevine licenses.
 * 
 */
public final class ContentKeyPolicyWidevineConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ContentKeyPolicyWidevineConfigurationArgs Empty = new ContentKeyPolicyWidevineConfigurationArgs();

    /**
     * The discriminator for derived types.
     * Expected value is '#Microsoft.Media.ContentKeyPolicyWidevineConfiguration'.
     * 
     */
    @Import(name="odataType", required=true)
    private Output odataType;

    /**
     * @return The discriminator for derived types.
     * Expected value is '#Microsoft.Media.ContentKeyPolicyWidevineConfiguration'.
     * 
     */
    public Output odataType() {
        return this.odataType;
    }

    /**
     * The Widevine template.
     * 
     */
    @Import(name="widevineTemplate", required=true)
    private Output widevineTemplate;

    /**
     * @return The Widevine template.
     * 
     */
    public Output widevineTemplate() {
        return this.widevineTemplate;
    }

    private ContentKeyPolicyWidevineConfigurationArgs() {}

    private ContentKeyPolicyWidevineConfigurationArgs(ContentKeyPolicyWidevineConfigurationArgs $) {
        this.odataType = $.odataType;
        this.widevineTemplate = $.widevineTemplate;
    }

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

    public static final class Builder {
        private ContentKeyPolicyWidevineConfigurationArgs $;

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

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

        /**
         * @param odataType The discriminator for derived types.
         * Expected value is '#Microsoft.Media.ContentKeyPolicyWidevineConfiguration'.
         * 
         * @return builder
         * 
         */
        public Builder odataType(Output odataType) {
            $.odataType = odataType;
            return this;
        }

        /**
         * @param odataType The discriminator for derived types.
         * Expected value is '#Microsoft.Media.ContentKeyPolicyWidevineConfiguration'.
         * 
         * @return builder
         * 
         */
        public Builder odataType(String odataType) {
            return odataType(Output.of(odataType));
        }

        /**
         * @param widevineTemplate The Widevine template.
         * 
         * @return builder
         * 
         */
        public Builder widevineTemplate(Output widevineTemplate) {
            $.widevineTemplate = widevineTemplate;
            return this;
        }

        /**
         * @param widevineTemplate The Widevine template.
         * 
         * @return builder
         * 
         */
        public Builder widevineTemplate(String widevineTemplate) {
            return widevineTemplate(Output.of(widevineTemplate));
        }

        public ContentKeyPolicyWidevineConfigurationArgs build() {
            $.odataType = Codegen.stringProp("odataType").output().arg($.odataType).require();
            if ($.widevineTemplate == null) {
                throw new MissingRequiredPropertyException("ContentKeyPolicyWidevineConfigurationArgs", "widevineTemplate");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy