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

com.pulumi.azure.apimanagement.inputs.ApiDiagnosticBackendResponseDataMaskingHeaderArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.apimanagement.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class ApiDiagnosticBackendResponseDataMaskingHeaderArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApiDiagnosticBackendResponseDataMaskingHeaderArgs Empty = new ApiDiagnosticBackendResponseDataMaskingHeaderArgs();

    /**
     * The data masking mode. Possible values are `Mask` and `Hide` for `query_params`. The only possible value is `Mask` for `headers`.
     * 
     */
    @Import(name="mode", required=true)
    private Output mode;

    /**
     * @return The data masking mode. Possible values are `Mask` and `Hide` for `query_params`. The only possible value is `Mask` for `headers`.
     * 
     */
    public Output mode() {
        return this.mode;
    }

    /**
     * The name of the header or the query parameter to mask.
     * 
     */
    @Import(name="value", required=true)
    private Output value;

    /**
     * @return The name of the header or the query parameter to mask.
     * 
     */
    public Output value() {
        return this.value;
    }

    private ApiDiagnosticBackendResponseDataMaskingHeaderArgs() {}

    private ApiDiagnosticBackendResponseDataMaskingHeaderArgs(ApiDiagnosticBackendResponseDataMaskingHeaderArgs $) {
        this.mode = $.mode;
        this.value = $.value;
    }

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

    public static final class Builder {
        private ApiDiagnosticBackendResponseDataMaskingHeaderArgs $;

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

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

        /**
         * @param mode The data masking mode. Possible values are `Mask` and `Hide` for `query_params`. The only possible value is `Mask` for `headers`.
         * 
         * @return builder
         * 
         */
        public Builder mode(Output mode) {
            $.mode = mode;
            return this;
        }

        /**
         * @param mode The data masking mode. Possible values are `Mask` and `Hide` for `query_params`. The only possible value is `Mask` for `headers`.
         * 
         * @return builder
         * 
         */
        public Builder mode(String mode) {
            return mode(Output.of(mode));
        }

        /**
         * @param value The name of the header or the query parameter to mask.
         * 
         * @return builder
         * 
         */
        public Builder value(Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value The name of the header or the query parameter to mask.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public ApiDiagnosticBackendResponseDataMaskingHeaderArgs build() {
            if ($.mode == null) {
                throw new MissingRequiredPropertyException("ApiDiagnosticBackendResponseDataMaskingHeaderArgs", "mode");
            }
            if ($.value == null) {
                throw new MissingRequiredPropertyException("ApiDiagnosticBackendResponseDataMaskingHeaderArgs", "value");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy