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

com.pulumi.azurenative.cdn.inputs.DeliveryRuleCacheKeyQueryStringActionArgs 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.cdn.inputs;

import com.pulumi.azurenative.cdn.inputs.CacheKeyQueryStringActionParametersArgs;
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;


/**
 * Defines the cache-key query string action for the delivery rule.
 * 
 */
public final class DeliveryRuleCacheKeyQueryStringActionArgs extends com.pulumi.resources.ResourceArgs {

    public static final DeliveryRuleCacheKeyQueryStringActionArgs Empty = new DeliveryRuleCacheKeyQueryStringActionArgs();

    /**
     * The name of the action for the delivery rule.
     * Expected value is 'CacheKeyQueryString'.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the action for the delivery rule.
     * Expected value is 'CacheKeyQueryString'.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * Defines the parameters for the action.
     * 
     */
    @Import(name="parameters", required=true)
    private Output parameters;

    /**
     * @return Defines the parameters for the action.
     * 
     */
    public Output parameters() {
        return this.parameters;
    }

    private DeliveryRuleCacheKeyQueryStringActionArgs() {}

    private DeliveryRuleCacheKeyQueryStringActionArgs(DeliveryRuleCacheKeyQueryStringActionArgs $) {
        this.name = $.name;
        this.parameters = $.parameters;
    }

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

    public static final class Builder {
        private DeliveryRuleCacheKeyQueryStringActionArgs $;

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

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

        /**
         * @param name The name of the action for the delivery rule.
         * Expected value is 'CacheKeyQueryString'.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the action for the delivery rule.
         * Expected value is 'CacheKeyQueryString'.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param parameters Defines the parameters for the action.
         * 
         * @return builder
         * 
         */
        public Builder parameters(Output parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters Defines the parameters for the action.
         * 
         * @return builder
         * 
         */
        public Builder parameters(CacheKeyQueryStringActionParametersArgs parameters) {
            return parameters(Output.of(parameters));
        }

        public DeliveryRuleCacheKeyQueryStringActionArgs build() {
            $.name = Codegen.stringProp("name").output().arg($.name).require();
            if ($.parameters == null) {
                throw new MissingRequiredPropertyException("DeliveryRuleCacheKeyQueryStringActionArgs", "parameters");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy