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

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


/**
 * Represents an open restriction. License or key will be delivered on every request.
 * 
 */
public final class ContentKeyPolicyOpenRestrictionArgs extends com.pulumi.resources.ResourceArgs {

    public static final ContentKeyPolicyOpenRestrictionArgs Empty = new ContentKeyPolicyOpenRestrictionArgs();

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

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

    private ContentKeyPolicyOpenRestrictionArgs() {}

    private ContentKeyPolicyOpenRestrictionArgs(ContentKeyPolicyOpenRestrictionArgs $) {
        this.odataType = $.odataType;
    }

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

    public static final class Builder {
        private ContentKeyPolicyOpenRestrictionArgs $;

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

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

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

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

        public ContentKeyPolicyOpenRestrictionArgs build() {
            $.odataType = Codegen.stringProp("odataType").output().arg($.odataType).require();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy