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

com.pulumi.azurenative.machinelearningservices.outputs.ListWorkspaceNotebookAccessTokenResult Maven / Gradle / Ivy

// *** 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.machinelearningservices.outputs;

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

@CustomType
public final class ListWorkspaceNotebookAccessTokenResult {
    private String accessToken;
    private Integer expiresIn;
    private String hostName;
    private String notebookResourceId;
    private String publicDns;
    private String refreshToken;
    private String scope;
    private String tokenType;

    private ListWorkspaceNotebookAccessTokenResult() {}
    public String accessToken() {
        return this.accessToken;
    }
    public Integer expiresIn() {
        return this.expiresIn;
    }
    public String hostName() {
        return this.hostName;
    }
    public String notebookResourceId() {
        return this.notebookResourceId;
    }
    public String publicDns() {
        return this.publicDns;
    }
    public String refreshToken() {
        return this.refreshToken;
    }
    public String scope() {
        return this.scope;
    }
    public String tokenType() {
        return this.tokenType;
    }

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

    public static Builder builder(ListWorkspaceNotebookAccessTokenResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String accessToken;
        private Integer expiresIn;
        private String hostName;
        private String notebookResourceId;
        private String publicDns;
        private String refreshToken;
        private String scope;
        private String tokenType;
        public Builder() {}
        public Builder(ListWorkspaceNotebookAccessTokenResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accessToken = defaults.accessToken;
    	      this.expiresIn = defaults.expiresIn;
    	      this.hostName = defaults.hostName;
    	      this.notebookResourceId = defaults.notebookResourceId;
    	      this.publicDns = defaults.publicDns;
    	      this.refreshToken = defaults.refreshToken;
    	      this.scope = defaults.scope;
    	      this.tokenType = defaults.tokenType;
        }

        @CustomType.Setter
        public Builder accessToken(String accessToken) {
            if (accessToken == null) {
              throw new MissingRequiredPropertyException("ListWorkspaceNotebookAccessTokenResult", "accessToken");
            }
            this.accessToken = accessToken;
            return this;
        }
        @CustomType.Setter
        public Builder expiresIn(Integer expiresIn) {
            if (expiresIn == null) {
              throw new MissingRequiredPropertyException("ListWorkspaceNotebookAccessTokenResult", "expiresIn");
            }
            this.expiresIn = expiresIn;
            return this;
        }
        @CustomType.Setter
        public Builder hostName(String hostName) {
            if (hostName == null) {
              throw new MissingRequiredPropertyException("ListWorkspaceNotebookAccessTokenResult", "hostName");
            }
            this.hostName = hostName;
            return this;
        }
        @CustomType.Setter
        public Builder notebookResourceId(String notebookResourceId) {
            if (notebookResourceId == null) {
              throw new MissingRequiredPropertyException("ListWorkspaceNotebookAccessTokenResult", "notebookResourceId");
            }
            this.notebookResourceId = notebookResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder publicDns(String publicDns) {
            if (publicDns == null) {
              throw new MissingRequiredPropertyException("ListWorkspaceNotebookAccessTokenResult", "publicDns");
            }
            this.publicDns = publicDns;
            return this;
        }
        @CustomType.Setter
        public Builder refreshToken(String refreshToken) {
            if (refreshToken == null) {
              throw new MissingRequiredPropertyException("ListWorkspaceNotebookAccessTokenResult", "refreshToken");
            }
            this.refreshToken = refreshToken;
            return this;
        }
        @CustomType.Setter
        public Builder scope(String scope) {
            if (scope == null) {
              throw new MissingRequiredPropertyException("ListWorkspaceNotebookAccessTokenResult", "scope");
            }
            this.scope = scope;
            return this;
        }
        @CustomType.Setter
        public Builder tokenType(String tokenType) {
            if (tokenType == null) {
              throw new MissingRequiredPropertyException("ListWorkspaceNotebookAccessTokenResult", "tokenType");
            }
            this.tokenType = tokenType;
            return this;
        }
        public ListWorkspaceNotebookAccessTokenResult build() {
            final var _resultValue = new ListWorkspaceNotebookAccessTokenResult();
            _resultValue.accessToken = accessToken;
            _resultValue.expiresIn = expiresIn;
            _resultValue.hostName = hostName;
            _resultValue.notebookResourceId = notebookResourceId;
            _resultValue.publicDns = publicDns;
            _resultValue.refreshToken = refreshToken;
            _resultValue.scope = scope;
            _resultValue.tokenType = tokenType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy