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

com.pulumi.azurenative.documentdb.outputs.GetNotebookWorkspaceResult Maven / Gradle / Ivy

There is a newer version: 2.72.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 GetNotebookWorkspaceResult {
    /**
     * @return The unique resource identifier of the database account.
     * 
     */
    private String id;
    /**
     * @return The name of the database account.
     * 
     */
    private String name;
    /**
     * @return Specifies the endpoint of Notebook server.
     * 
     */
    private String notebookServerEndpoint;
    /**
     * @return Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating.
     * 
     */
    private String status;
    /**
     * @return The type of Azure resource.
     * 
     */
    private String type;

    private GetNotebookWorkspaceResult() {}
    /**
     * @return The unique resource identifier of the database account.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The name of the database account.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Specifies the endpoint of Notebook server.
     * 
     */
    public String notebookServerEndpoint() {
        return this.notebookServerEndpoint;
    }
    /**
     * @return Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating.
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return The type of Azure resource.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetNotebookWorkspaceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String name;
        private String notebookServerEndpoint;
        private String status;
        private String type;
        public Builder() {}
        public Builder(GetNotebookWorkspaceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.notebookServerEndpoint = defaults.notebookServerEndpoint;
    	      this.status = defaults.status;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetNotebookWorkspaceResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetNotebookWorkspaceResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder notebookServerEndpoint(String notebookServerEndpoint) {
            if (notebookServerEndpoint == null) {
              throw new MissingRequiredPropertyException("GetNotebookWorkspaceResult", "notebookServerEndpoint");
            }
            this.notebookServerEndpoint = notebookServerEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetNotebookWorkspaceResult", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetNotebookWorkspaceResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetNotebookWorkspaceResult build() {
            final var _resultValue = new GetNotebookWorkspaceResult();
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.notebookServerEndpoint = notebookServerEndpoint;
            _resultValue.status = status;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy