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

com.pulumi.azurenative.testbase.outputs.TabStateResponse Maven / Gradle / Ivy

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

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class TabStateResponse {
    /**
     * @return Current tab.
     * 
     */
    private @Nullable String currentTab;
    /**
     * @return visited tabs.
     * 
     */
    private @Nullable List visitedTabs;

    private TabStateResponse() {}
    /**
     * @return Current tab.
     * 
     */
    public Optional currentTab() {
        return Optional.ofNullable(this.currentTab);
    }
    /**
     * @return visited tabs.
     * 
     */
    public List visitedTabs() {
        return this.visitedTabs == null ? List.of() : this.visitedTabs;
    }

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

    public static Builder builder(TabStateResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String currentTab;
        private @Nullable List visitedTabs;
        public Builder() {}
        public Builder(TabStateResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.currentTab = defaults.currentTab;
    	      this.visitedTabs = defaults.visitedTabs;
        }

        @CustomType.Setter
        public Builder currentTab(@Nullable String currentTab) {

            this.currentTab = currentTab;
            return this;
        }
        @CustomType.Setter
        public Builder visitedTabs(@Nullable List visitedTabs) {

            this.visitedTabs = visitedTabs;
            return this;
        }
        public Builder visitedTabs(String... visitedTabs) {
            return visitedTabs(List.of(visitedTabs));
        }
        public TabStateResponse build() {
            final var _resultValue = new TabStateResponse();
            _resultValue.currentTab = currentTab;
            _resultValue.visitedTabs = visitedTabs;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy