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

com.pulumi.azurenative.webpubsub.inputs.ResourceLogCategoryArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.webpubsub.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;


/**
 * Resource log category configuration of a Microsoft.SignalRService resource.
 * 
 */
public final class ResourceLogCategoryArgs extends com.pulumi.resources.ResourceArgs {

    public static final ResourceLogCategoryArgs Empty = new ResourceLogCategoryArgs();

    /**
     * Indicates whether or the resource log category is enabled.
     * Available values: true, false.
     * Case insensitive.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Indicates whether or the resource log category is enabled.
     * Available values: true, false.
     * Case insensitive.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * Gets or sets the resource log category's name.
     * Available values: ConnectivityLogs, MessagingLogs.
     * Case insensitive.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Gets or sets the resource log category's name.
     * Available values: ConnectivityLogs, MessagingLogs.
     * Case insensitive.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private ResourceLogCategoryArgs() {}

    private ResourceLogCategoryArgs(ResourceLogCategoryArgs $) {
        this.enabled = $.enabled;
        this.name = $.name;
    }

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

    public static final class Builder {
        private ResourceLogCategoryArgs $;

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

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

        /**
         * @param enabled Indicates whether or the resource log category is enabled.
         * Available values: true, false.
         * Case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Indicates whether or the resource log category is enabled.
         * Available values: true, false.
         * Case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder enabled(String enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param name Gets or sets the resource log category's name.
         * Available values: ConnectivityLogs, MessagingLogs.
         * Case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Gets or sets the resource log category's name.
         * Available values: ConnectivityLogs, MessagingLogs.
         * Case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public ResourceLogCategoryArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy