// *** 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.azure.apimanagement.inputs.ApiDiagnosticBackendResponseDataMaskingHeaderArgs;
import com.pulumi.azure.apimanagement.inputs.ApiDiagnosticBackendResponseDataMaskingQueryParamArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ApiDiagnosticBackendResponseDataMaskingArgs Empty = new ApiDiagnosticBackendResponseDataMaskingArgs();

    /**
     * A `headers` block as defined below.
     * 
     */
    @Import(name="headers")
    private @Nullable Output<List<ApiDiagnosticBackendResponseDataMaskingHeaderArgs>> headers;

    /**
     * @return A `headers` block as defined below.
     * 
     */
    public Optional<Output<List<ApiDiagnosticBackendResponseDataMaskingHeaderArgs>>> headers() {
        return Optional.ofNullable(this.headers);
    }

    /**
     * A `query_params` block as defined below.
     * 
     */
    @Import(name="queryParams")
    private @Nullable Output<List<ApiDiagnosticBackendResponseDataMaskingQueryParamArgs>> queryParams;

    /**
     * @return A `query_params` block as defined below.
     * 
     */
    public Optional<Output<List<ApiDiagnosticBackendResponseDataMaskingQueryParamArgs>>> queryParams() {
        return Optional.ofNullable(this.queryParams);
    }

    private ApiDiagnosticBackendResponseDataMaskingArgs() {}

    private ApiDiagnosticBackendResponseDataMaskingArgs(ApiDiagnosticBackendResponseDataMaskingArgs $) {
        this.headers = $.headers;
        this.queryParams = $.queryParams;
    }

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

    public static final class Builder {
        private ApiDiagnosticBackendResponseDataMaskingArgs $;

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

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

        /**
         * @param headers A `headers` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder headers(@Nullable Output<List<ApiDiagnosticBackendResponseDataMaskingHeaderArgs>> headers) {
            $.headers = headers;
            return this;
        }

        /**
         * @param headers A `headers` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder headers(List<ApiDiagnosticBackendResponseDataMaskingHeaderArgs> headers) {
            return headers(Output.of(headers));
        }

        /**
         * @param headers A `headers` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder headers(ApiDiagnosticBackendResponseDataMaskingHeaderArgs... headers) {
            return headers(List.of(headers));
        }

        /**
         * @param queryParams A `query_params` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder queryParams(@Nullable Output<List<ApiDiagnosticBackendResponseDataMaskingQueryParamArgs>> queryParams) {
            $.queryParams = queryParams;
            return this;
        }

        /**
         * @param queryParams A `query_params` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder queryParams(List<ApiDiagnosticBackendResponseDataMaskingQueryParamArgs> queryParams) {
            return queryParams(Output.of(queryParams));
        }

        /**
         * @param queryParams A `query_params` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder queryParams(ApiDiagnosticBackendResponseDataMaskingQueryParamArgs... queryParams) {
            return queryParams(List.of(queryParams));
        }

        public ApiDiagnosticBackendResponseDataMaskingArgs build() {
            return $;
        }
    }

}
