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

com.azure.resourcemanager.cosmos.fluent.models.NotebookWorkspaceInner Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure CosmosDB SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.46.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.cosmos.models.ArmProxyResource;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * A notebook workspace resource.
 */
@Immutable
public final class NotebookWorkspaceInner extends ArmProxyResource {
    /*
     * Resource properties.
     */
    @JsonProperty(value = "properties")
    private NotebookWorkspaceProperties innerProperties;

    /**
     * Creates an instance of NotebookWorkspaceInner class.
     */
    public NotebookWorkspaceInner() {
    }

    /**
     * Get the innerProperties property: Resource properties.
     * 
     * @return the innerProperties value.
     */
    private NotebookWorkspaceProperties innerProperties() {
        return this.innerProperties;
    }

    /**
     * Get the notebookServerEndpoint property: Specifies the endpoint of Notebook server.
     * 
     * @return the notebookServerEndpoint value.
     */
    public String notebookServerEndpoint() {
        return this.innerProperties() == null ? null : this.innerProperties().notebookServerEndpoint();
    }

    /**
     * Get the status property: Status of the notebook workspace. Possible values are: Creating, Online, Deleting,
     * Failed, Updating.
     * 
     * @return the status value.
     */
    public String status() {
        return this.innerProperties() == null ? null : this.innerProperties().status();
    }

    /**
     * Validates the instance.
     * 
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    @Override
    public void validate() {
        super.validate();
        if (innerProperties() != null) {
            innerProperties().validate();
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy