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

com.pulumi.azurenative.documentdb.outputs.ListNotebookWorkspaceConnectionInfoResult 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.documentdb.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ListNotebookWorkspaceConnectionInfoResult {
    /**
     * @return Specifies auth token used for connecting to Notebook server (uses token-based auth).
     * 
     */
    private String authToken;
    /**
     * @return Specifies the endpoint of Notebook server.
     * 
     */
    private String notebookServerEndpoint;

    private ListNotebookWorkspaceConnectionInfoResult() {}
    /**
     * @return Specifies auth token used for connecting to Notebook server (uses token-based auth).
     * 
     */
    public String authToken() {
        return this.authToken;
    }
    /**
     * @return Specifies the endpoint of Notebook server.
     * 
     */
    public String notebookServerEndpoint() {
        return this.notebookServerEndpoint;
    }

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

    public static Builder builder(ListNotebookWorkspaceConnectionInfoResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String authToken;
        private String notebookServerEndpoint;
        public Builder() {}
        public Builder(ListNotebookWorkspaceConnectionInfoResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.authToken = defaults.authToken;
    	      this.notebookServerEndpoint = defaults.notebookServerEndpoint;
        }

        @CustomType.Setter
        public Builder authToken(String authToken) {
            if (authToken == null) {
              throw new MissingRequiredPropertyException("ListNotebookWorkspaceConnectionInfoResult", "authToken");
            }
            this.authToken = authToken;
            return this;
        }
        @CustomType.Setter
        public Builder notebookServerEndpoint(String notebookServerEndpoint) {
            if (notebookServerEndpoint == null) {
              throw new MissingRequiredPropertyException("ListNotebookWorkspaceConnectionInfoResult", "notebookServerEndpoint");
            }
            this.notebookServerEndpoint = notebookServerEndpoint;
            return this;
        }
        public ListNotebookWorkspaceConnectionInfoResult build() {
            final var _resultValue = new ListNotebookWorkspaceConnectionInfoResult();
            _resultValue.authToken = authToken;
            _resultValue.notebookServerEndpoint = notebookServerEndpoint;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy