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

com.pulumi.azurenative.resources.inputs.DeploymentStacksDebugSettingArgs 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.resources.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;


/**
 * The debug setting.
 * 
 */
public final class DeploymentStacksDebugSettingArgs extends com.pulumi.resources.ResourceArgs {

    public static final DeploymentStacksDebugSettingArgs Empty = new DeploymentStacksDebugSettingArgs();

    /**
     * Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information that is being passed in during deployment. By logging information about the request or response, sensitive data that is retrieved through the deployment operations could potentially be exposed.
     * 
     */
    @Import(name="detailLevel")
    private @Nullable Output detailLevel;

    /**
     * @return Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information that is being passed in during deployment. By logging information about the request or response, sensitive data that is retrieved through the deployment operations could potentially be exposed.
     * 
     */
    public Optional> detailLevel() {
        return Optional.ofNullable(this.detailLevel);
    }

    private DeploymentStacksDebugSettingArgs() {}

    private DeploymentStacksDebugSettingArgs(DeploymentStacksDebugSettingArgs $) {
        this.detailLevel = $.detailLevel;
    }

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

    public static final class Builder {
        private DeploymentStacksDebugSettingArgs $;

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

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

        /**
         * @param detailLevel Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information that is being passed in during deployment. By logging information about the request or response, sensitive data that is retrieved through the deployment operations could potentially be exposed.
         * 
         * @return builder
         * 
         */
        public Builder detailLevel(@Nullable Output detailLevel) {
            $.detailLevel = detailLevel;
            return this;
        }

        /**
         * @param detailLevel Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information that is being passed in during deployment. By logging information about the request or response, sensitive data that is retrieved through the deployment operations could potentially be exposed.
         * 
         * @return builder
         * 
         */
        public Builder detailLevel(String detailLevel) {
            return detailLevel(Output.of(detailLevel));
        }

        public DeploymentStacksDebugSettingArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy