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

com.pulumi.alicloud.imp.inputs.AppTemplateState Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.imp.inputs;

import com.pulumi.alicloud.imp.inputs.AppTemplateConfigListArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AppTemplateState Empty = new AppTemplateState();

    /**
     * The name of the resource.
     * 
     */
    @Import(name="appTemplateName")
    private @Nullable Output appTemplateName;

    /**
     * @return The name of the resource.
     * 
     */
    public Optional> appTemplateName() {
        return Optional.ofNullable(this.appTemplateName);
    }

    /**
     * List of components. Its element valid values: ["component.live","component.liveRecord","component.liveBeauty","component.rtc","component.rtcRecord","component.im","component.whiteboard","component.liveSecurity","component.chatSecurity"].
     * 
     */
    @Import(name="componentLists")
    private @Nullable Output> componentLists;

    /**
     * @return List of components. Its element valid values: ["component.live","component.liveRecord","component.liveBeauty","component.rtc","component.rtcRecord","component.im","component.whiteboard","component.liveSecurity","component.chatSecurity"].
     * 
     */
    public Optional>> componentLists() {
        return Optional.ofNullable(this.componentLists);
    }

    /**
     * Configuration list. It have several default configs after the resource is created. See the following `Block config_list`.
     * 
     */
    @Import(name="configLists")
    private @Nullable Output> configLists;

    /**
     * @return Configuration list. It have several default configs after the resource is created. See the following `Block config_list`.
     * 
     */
    public Optional>> configLists() {
        return Optional.ofNullable(this.configLists);
    }

    /**
     * Integration mode. Valid values:
     * * paasSDK: Integrated SDK.
     * * standardRoom: Model Room.
     * 
     */
    @Import(name="integrationMode")
    private @Nullable Output integrationMode;

    /**
     * @return Integration mode. Valid values:
     * * paasSDK: Integrated SDK.
     * * standardRoom: Model Room.
     * 
     */
    public Optional> integrationMode() {
        return Optional.ofNullable(this.integrationMode);
    }

    /**
     * Application Template scenario. Valid values: ["business", "classroom"].
     * 
     */
    @Import(name="scene")
    private @Nullable Output scene;

    /**
     * @return Application Template scenario. Valid values: ["business", "classroom"].
     * 
     */
    public Optional> scene() {
        return Optional.ofNullable(this.scene);
    }

    /**
     * Application template usage status.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return Application template usage status.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private AppTemplateState() {}

    private AppTemplateState(AppTemplateState $) {
        this.appTemplateName = $.appTemplateName;
        this.componentLists = $.componentLists;
        this.configLists = $.configLists;
        this.integrationMode = $.integrationMode;
        this.scene = $.scene;
        this.status = $.status;
    }

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

    public static final class Builder {
        private AppTemplateState $;

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

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

        /**
         * @param appTemplateName The name of the resource.
         * 
         * @return builder
         * 
         */
        public Builder appTemplateName(@Nullable Output appTemplateName) {
            $.appTemplateName = appTemplateName;
            return this;
        }

        /**
         * @param appTemplateName The name of the resource.
         * 
         * @return builder
         * 
         */
        public Builder appTemplateName(String appTemplateName) {
            return appTemplateName(Output.of(appTemplateName));
        }

        /**
         * @param componentLists List of components. Its element valid values: ["component.live","component.liveRecord","component.liveBeauty","component.rtc","component.rtcRecord","component.im","component.whiteboard","component.liveSecurity","component.chatSecurity"].
         * 
         * @return builder
         * 
         */
        public Builder componentLists(@Nullable Output> componentLists) {
            $.componentLists = componentLists;
            return this;
        }

        /**
         * @param componentLists List of components. Its element valid values: ["component.live","component.liveRecord","component.liveBeauty","component.rtc","component.rtcRecord","component.im","component.whiteboard","component.liveSecurity","component.chatSecurity"].
         * 
         * @return builder
         * 
         */
        public Builder componentLists(List componentLists) {
            return componentLists(Output.of(componentLists));
        }

        /**
         * @param componentLists List of components. Its element valid values: ["component.live","component.liveRecord","component.liveBeauty","component.rtc","component.rtcRecord","component.im","component.whiteboard","component.liveSecurity","component.chatSecurity"].
         * 
         * @return builder
         * 
         */
        public Builder componentLists(String... componentLists) {
            return componentLists(List.of(componentLists));
        }

        /**
         * @param configLists Configuration list. It have several default configs after the resource is created. See the following `Block config_list`.
         * 
         * @return builder
         * 
         */
        public Builder configLists(@Nullable Output> configLists) {
            $.configLists = configLists;
            return this;
        }

        /**
         * @param configLists Configuration list. It have several default configs after the resource is created. See the following `Block config_list`.
         * 
         * @return builder
         * 
         */
        public Builder configLists(List configLists) {
            return configLists(Output.of(configLists));
        }

        /**
         * @param configLists Configuration list. It have several default configs after the resource is created. See the following `Block config_list`.
         * 
         * @return builder
         * 
         */
        public Builder configLists(AppTemplateConfigListArgs... configLists) {
            return configLists(List.of(configLists));
        }

        /**
         * @param integrationMode Integration mode. Valid values:
         * * paasSDK: Integrated SDK.
         * * standardRoom: Model Room.
         * 
         * @return builder
         * 
         */
        public Builder integrationMode(@Nullable Output integrationMode) {
            $.integrationMode = integrationMode;
            return this;
        }

        /**
         * @param integrationMode Integration mode. Valid values:
         * * paasSDK: Integrated SDK.
         * * standardRoom: Model Room.
         * 
         * @return builder
         * 
         */
        public Builder integrationMode(String integrationMode) {
            return integrationMode(Output.of(integrationMode));
        }

        /**
         * @param scene Application Template scenario. Valid values: ["business", "classroom"].
         * 
         * @return builder
         * 
         */
        public Builder scene(@Nullable Output scene) {
            $.scene = scene;
            return this;
        }

        /**
         * @param scene Application Template scenario. Valid values: ["business", "classroom"].
         * 
         * @return builder
         * 
         */
        public Builder scene(String scene) {
            return scene(Output.of(scene));
        }

        /**
         * @param status Application template usage status.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Application template usage status.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public AppTemplateState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy