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

com.pulumi.azurenative.webpubsub.inputs.ResourceLogConfigurationArgs 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.azurenative.webpubsub.inputs.ResourceLogCategoryArgs;
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;


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

    public static final ResourceLogConfigurationArgs Empty = new ResourceLogConfigurationArgs();

    /**
     * Gets or sets the list of category configurations.
     * 
     */
    @Import(name="categories")
    private @Nullable Output> categories;

    /**
     * @return Gets or sets the list of category configurations.
     * 
     */
    public Optional>> categories() {
        return Optional.ofNullable(this.categories);
    }

    private ResourceLogConfigurationArgs() {}

    private ResourceLogConfigurationArgs(ResourceLogConfigurationArgs $) {
        this.categories = $.categories;
    }

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

    public static final class Builder {
        private ResourceLogConfigurationArgs $;

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

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

        /**
         * @param categories Gets or sets the list of category configurations.
         * 
         * @return builder
         * 
         */
        public Builder categories(@Nullable Output> categories) {
            $.categories = categories;
            return this;
        }

        /**
         * @param categories Gets or sets the list of category configurations.
         * 
         * @return builder
         * 
         */
        public Builder categories(List categories) {
            return categories(Output.of(categories));
        }

        /**
         * @param categories Gets or sets the list of category configurations.
         * 
         * @return builder
         * 
         */
        public Builder categories(ResourceLogCategoryArgs... categories) {
            return categories(List.of(categories));
        }

        public ResourceLogConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy