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

com.pulumi.azurenative.botservice.inputs.WebChatChannelPropertiesArgs Maven / Gradle / Ivy

// *** 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.botservice.inputs;

import com.pulumi.azurenative.botservice.inputs.WebChatSiteArgs;
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;


/**
 * The parameters to provide for the Web Chat channel.
 * 
 */
public final class WebChatChannelPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final WebChatChannelPropertiesArgs Empty = new WebChatChannelPropertiesArgs();

    /**
     * The list of Web Chat sites
     * 
     */
    @Import(name="sites")
    private @Nullable Output> sites;

    /**
     * @return The list of Web Chat sites
     * 
     */
    public Optional>> sites() {
        return Optional.ofNullable(this.sites);
    }

    private WebChatChannelPropertiesArgs() {}

    private WebChatChannelPropertiesArgs(WebChatChannelPropertiesArgs $) {
        this.sites = $.sites;
    }

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

    public static final class Builder {
        private WebChatChannelPropertiesArgs $;

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

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

        /**
         * @param sites The list of Web Chat sites
         * 
         * @return builder
         * 
         */
        public Builder sites(@Nullable Output> sites) {
            $.sites = sites;
            return this;
        }

        /**
         * @param sites The list of Web Chat sites
         * 
         * @return builder
         * 
         */
        public Builder sites(List sites) {
            return sites(Output.of(sites));
        }

        /**
         * @param sites The list of Web Chat sites
         * 
         * @return builder
         * 
         */
        public Builder sites(WebChatSiteArgs... sites) {
            return sites(List.of(sites));
        }

        public WebChatChannelPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy