
com.pulumi.azurenative.machinelearningservices.outputs.ComputeInstanceDataMountResponse 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ComputeInstanceDataMountResponse {
/**
* @return who this data mount created by.
*
*/
private @Nullable String createdBy;
/**
* @return Error of this data mount.
*
*/
private @Nullable String error;
/**
* @return Mount Action.
*
*/
private @Nullable String mountAction;
/**
* @return name of the ComputeInstance data mount.
*
*/
private @Nullable String mountName;
/**
* @return Path of this data mount.
*
*/
private @Nullable String mountPath;
/**
* @return Mount state.
*
*/
private @Nullable String mountState;
/**
* @return The time when the disk mounted.
*
*/
private @Nullable String mountedOn;
/**
* @return Source of the ComputeInstance data mount.
*
*/
private @Nullable String source;
/**
* @return Data source type.
*
*/
private @Nullable String sourceType;
private ComputeInstanceDataMountResponse() {}
/**
* @return who this data mount created by.
*
*/
public Optional createdBy() {
return Optional.ofNullable(this.createdBy);
}
/**
* @return Error of this data mount.
*
*/
public Optional error() {
return Optional.ofNullable(this.error);
}
/**
* @return Mount Action.
*
*/
public Optional mountAction() {
return Optional.ofNullable(this.mountAction);
}
/**
* @return name of the ComputeInstance data mount.
*
*/
public Optional mountName() {
return Optional.ofNullable(this.mountName);
}
/**
* @return Path of this data mount.
*
*/
public Optional mountPath() {
return Optional.ofNullable(this.mountPath);
}
/**
* @return Mount state.
*
*/
public Optional mountState() {
return Optional.ofNullable(this.mountState);
}
/**
* @return The time when the disk mounted.
*
*/
public Optional mountedOn() {
return Optional.ofNullable(this.mountedOn);
}
/**
* @return Source of the ComputeInstance data mount.
*
*/
public Optional source() {
return Optional.ofNullable(this.source);
}
/**
* @return Data source type.
*
*/
public Optional sourceType() {
return Optional.ofNullable(this.sourceType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ComputeInstanceDataMountResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String createdBy;
private @Nullable String error;
private @Nullable String mountAction;
private @Nullable String mountName;
private @Nullable String mountPath;
private @Nullable String mountState;
private @Nullable String mountedOn;
private @Nullable String source;
private @Nullable String sourceType;
public Builder() {}
public Builder(ComputeInstanceDataMountResponse defaults) {
Objects.requireNonNull(defaults);
this.createdBy = defaults.createdBy;
this.error = defaults.error;
this.mountAction = defaults.mountAction;
this.mountName = defaults.mountName;
this.mountPath = defaults.mountPath;
this.mountState = defaults.mountState;
this.mountedOn = defaults.mountedOn;
this.source = defaults.source;
this.sourceType = defaults.sourceType;
}
@CustomType.Setter
public Builder createdBy(@Nullable String createdBy) {
this.createdBy = createdBy;
return this;
}
@CustomType.Setter
public Builder error(@Nullable String error) {
this.error = error;
return this;
}
@CustomType.Setter
public Builder mountAction(@Nullable String mountAction) {
this.mountAction = mountAction;
return this;
}
@CustomType.Setter
public Builder mountName(@Nullable String mountName) {
this.mountName = mountName;
return this;
}
@CustomType.Setter
public Builder mountPath(@Nullable String mountPath) {
this.mountPath = mountPath;
return this;
}
@CustomType.Setter
public Builder mountState(@Nullable String mountState) {
this.mountState = mountState;
return this;
}
@CustomType.Setter
public Builder mountedOn(@Nullable String mountedOn) {
this.mountedOn = mountedOn;
return this;
}
@CustomType.Setter
public Builder source(@Nullable String source) {
this.source = source;
return this;
}
@CustomType.Setter
public Builder sourceType(@Nullable String sourceType) {
this.sourceType = sourceType;
return this;
}
public ComputeInstanceDataMountResponse build() {
final var _resultValue = new ComputeInstanceDataMountResponse();
_resultValue.createdBy = createdBy;
_resultValue.error = error;
_resultValue.mountAction = mountAction;
_resultValue.mountName = mountName;
_resultValue.mountPath = mountPath;
_resultValue.mountState = mountState;
_resultValue.mountedOn = mountedOn;
_resultValue.source = source;
_resultValue.sourceType = sourceType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy