
com.pulumi.azurenative.machinelearningservices.outputs.NotebookResourceInfoResponse 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.azurenative.machinelearningservices.outputs.NotebookPreparationErrorResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class NotebookResourceInfoResponse {
private @Nullable String fqdn;
/**
* @return The error that occurs when preparing notebook.
*
*/
private @Nullable NotebookPreparationErrorResponse notebookPreparationError;
/**
* @return the data plane resourceId that used to initialize notebook component
*
*/
private @Nullable String resourceId;
private NotebookResourceInfoResponse() {}
public Optional fqdn() {
return Optional.ofNullable(this.fqdn);
}
/**
* @return The error that occurs when preparing notebook.
*
*/
public Optional notebookPreparationError() {
return Optional.ofNullable(this.notebookPreparationError);
}
/**
* @return the data plane resourceId that used to initialize notebook component
*
*/
public Optional resourceId() {
return Optional.ofNullable(this.resourceId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NotebookResourceInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String fqdn;
private @Nullable NotebookPreparationErrorResponse notebookPreparationError;
private @Nullable String resourceId;
public Builder() {}
public Builder(NotebookResourceInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.fqdn = defaults.fqdn;
this.notebookPreparationError = defaults.notebookPreparationError;
this.resourceId = defaults.resourceId;
}
@CustomType.Setter
public Builder fqdn(@Nullable String fqdn) {
this.fqdn = fqdn;
return this;
}
@CustomType.Setter
public Builder notebookPreparationError(@Nullable NotebookPreparationErrorResponse notebookPreparationError) {
this.notebookPreparationError = notebookPreparationError;
return this;
}
@CustomType.Setter
public Builder resourceId(@Nullable String resourceId) {
this.resourceId = resourceId;
return this;
}
public NotebookResourceInfoResponse build() {
final var _resultValue = new NotebookResourceInfoResponse();
_resultValue.fqdn = fqdn;
_resultValue.notebookPreparationError = notebookPreparationError;
_resultValue.resourceId = resourceId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy