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

com.pulumi.azurenative.cdn.outputs.DeliveryRuleRequestHeaderActionResponse 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.outputs;

import com.pulumi.azurenative.cdn.outputs.HeaderActionParametersResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class DeliveryRuleRequestHeaderActionResponse {
    /**
     * @return The name of the action for the delivery rule.
     * Expected value is 'ModifyRequestHeader'.
     * 
     */
    private String name;
    /**
     * @return Defines the parameters for the action.
     * 
     */
    private HeaderActionParametersResponse parameters;

    private DeliveryRuleRequestHeaderActionResponse() {}
    /**
     * @return The name of the action for the delivery rule.
     * Expected value is 'ModifyRequestHeader'.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Defines the parameters for the action.
     * 
     */
    public HeaderActionParametersResponse parameters() {
        return this.parameters;
    }

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

    public static Builder builder(DeliveryRuleRequestHeaderActionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String name;
        private HeaderActionParametersResponse parameters;
        public Builder() {}
        public Builder(DeliveryRuleRequestHeaderActionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
    	      this.parameters = defaults.parameters;
        }

        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("DeliveryRuleRequestHeaderActionResponse", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder parameters(HeaderActionParametersResponse parameters) {
            if (parameters == null) {
              throw new MissingRequiredPropertyException("DeliveryRuleRequestHeaderActionResponse", "parameters");
            }
            this.parameters = parameters;
            return this;
        }
        public DeliveryRuleRequestHeaderActionResponse build() {
            final var _resultValue = new DeliveryRuleRequestHeaderActionResponse();
            _resultValue.name = name;
            _resultValue.parameters = parameters;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy