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

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

There is a newer version: 2.82.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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Class to specify properties of default content key for each encryption scheme
 * 
 */
public final class DefaultKeyArgs extends com.pulumi.resources.ResourceArgs {

    public static final DefaultKeyArgs Empty = new DefaultKeyArgs();

    /**
     * Label can be used to specify Content Key when creating a Streaming Locator
     * 
     */
    @Import(name="label")
    private @Nullable Output label;

    /**
     * @return Label can be used to specify Content Key when creating a Streaming Locator
     * 
     */
    public Optional> label() {
        return Optional.ofNullable(this.label);
    }

    /**
     * Policy used by Default Key
     * 
     */
    @Import(name="policyName")
    private @Nullable Output policyName;

    /**
     * @return Policy used by Default Key
     * 
     */
    public Optional> policyName() {
        return Optional.ofNullable(this.policyName);
    }

    private DefaultKeyArgs() {}

    private DefaultKeyArgs(DefaultKeyArgs $) {
        this.label = $.label;
        this.policyName = $.policyName;
    }

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

    public static final class Builder {
        private DefaultKeyArgs $;

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

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

        /**
         * @param label Label can be used to specify Content Key when creating a Streaming Locator
         * 
         * @return builder
         * 
         */
        public Builder label(@Nullable Output label) {
            $.label = label;
            return this;
        }

        /**
         * @param label Label can be used to specify Content Key when creating a Streaming Locator
         * 
         * @return builder
         * 
         */
        public Builder label(String label) {
            return label(Output.of(label));
        }

        /**
         * @param policyName Policy used by Default Key
         * 
         * @return builder
         * 
         */
        public Builder policyName(@Nullable Output policyName) {
            $.policyName = policyName;
            return this;
        }

        /**
         * @param policyName Policy used by Default Key
         * 
         * @return builder
         * 
         */
        public Builder policyName(String policyName) {
            return policyName(Output.of(policyName));
        }

        public DefaultKeyArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy