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

com.pulumi.azurenative.network.inputs.FirewallPolicyHttpHeaderToInsertArgs 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.network.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;


/**
 * name and value of HTTP/S header to insert
 * 
 */
public final class FirewallPolicyHttpHeaderToInsertArgs extends com.pulumi.resources.ResourceArgs {

    public static final FirewallPolicyHttpHeaderToInsertArgs Empty = new FirewallPolicyHttpHeaderToInsertArgs();

    /**
     * Contains the name of the header
     * 
     */
    @Import(name="headerName")
    private @Nullable Output headerName;

    /**
     * @return Contains the name of the header
     * 
     */
    public Optional> headerName() {
        return Optional.ofNullable(this.headerName);
    }

    /**
     * Contains the value of the header
     * 
     */
    @Import(name="headerValue")
    private @Nullable Output headerValue;

    /**
     * @return Contains the value of the header
     * 
     */
    public Optional> headerValue() {
        return Optional.ofNullable(this.headerValue);
    }

    private FirewallPolicyHttpHeaderToInsertArgs() {}

    private FirewallPolicyHttpHeaderToInsertArgs(FirewallPolicyHttpHeaderToInsertArgs $) {
        this.headerName = $.headerName;
        this.headerValue = $.headerValue;
    }

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

    public static final class Builder {
        private FirewallPolicyHttpHeaderToInsertArgs $;

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

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

        /**
         * @param headerName Contains the name of the header
         * 
         * @return builder
         * 
         */
        public Builder headerName(@Nullable Output headerName) {
            $.headerName = headerName;
            return this;
        }

        /**
         * @param headerName Contains the name of the header
         * 
         * @return builder
         * 
         */
        public Builder headerName(String headerName) {
            return headerName(Output.of(headerName));
        }

        /**
         * @param headerValue Contains the value of the header
         * 
         * @return builder
         * 
         */
        public Builder headerValue(@Nullable Output headerValue) {
            $.headerValue = headerValue;
            return this;
        }

        /**
         * @param headerValue Contains the value of the header
         * 
         * @return builder
         * 
         */
        public Builder headerValue(String headerValue) {
            return headerValue(Output.of(headerValue));
        }

        public FirewallPolicyHttpHeaderToInsertArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy