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

com.pulumi.azurenative.testbase.inputs.TabStateArgs 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.testbase.inputs;

import com.pulumi.azurenative.testbase.enums.PackageStudioTabs;
import com.pulumi.core.Either;
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;


/**
 * Specifies current state of tabs.
 * 
 */
public final class TabStateArgs extends com.pulumi.resources.ResourceArgs {

    public static final TabStateArgs Empty = new TabStateArgs();

    /**
     * Current tab.
     * 
     */
    @Import(name="currentTab")
    private @Nullable Output> currentTab;

    /**
     * @return Current tab.
     * 
     */
    public Optional>> currentTab() {
        return Optional.ofNullable(this.currentTab);
    }

    /**
     * visited tabs.
     * 
     */
    @Import(name="visitedTabs")
    private @Nullable Output>> visitedTabs;

    /**
     * @return visited tabs.
     * 
     */
    public Optional>>> visitedTabs() {
        return Optional.ofNullable(this.visitedTabs);
    }

    private TabStateArgs() {}

    private TabStateArgs(TabStateArgs $) {
        this.currentTab = $.currentTab;
        this.visitedTabs = $.visitedTabs;
    }

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

    public static final class Builder {
        private TabStateArgs $;

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

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

        /**
         * @param currentTab Current tab.
         * 
         * @return builder
         * 
         */
        public Builder currentTab(@Nullable Output> currentTab) {
            $.currentTab = currentTab;
            return this;
        }

        /**
         * @param currentTab Current tab.
         * 
         * @return builder
         * 
         */
        public Builder currentTab(Either currentTab) {
            return currentTab(Output.of(currentTab));
        }

        /**
         * @param currentTab Current tab.
         * 
         * @return builder
         * 
         */
        public Builder currentTab(String currentTab) {
            return currentTab(Either.ofLeft(currentTab));
        }

        /**
         * @param currentTab Current tab.
         * 
         * @return builder
         * 
         */
        public Builder currentTab(PackageStudioTabs currentTab) {
            return currentTab(Either.ofRight(currentTab));
        }

        /**
         * @param visitedTabs visited tabs.
         * 
         * @return builder
         * 
         */
        public Builder visitedTabs(@Nullable Output>> visitedTabs) {
            $.visitedTabs = visitedTabs;
            return this;
        }

        /**
         * @param visitedTabs visited tabs.
         * 
         * @return builder
         * 
         */
        public Builder visitedTabs(List> visitedTabs) {
            return visitedTabs(Output.of(visitedTabs));
        }

        /**
         * @param visitedTabs visited tabs.
         * 
         * @return builder
         * 
         */
        public Builder visitedTabs(Either... visitedTabs) {
            return visitedTabs(List.of(visitedTabs));
        }

        public TabStateArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy