
com.pulumi.azurenative.app.outputs.VolumeMountResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.app.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 VolumeMountResponse {
/**
* @return Path within the container at which the volume should be mounted.Must not contain ':'.
*
*/
private @Nullable String mountPath;
/**
* @return Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
*
*/
private @Nullable String subPath;
/**
* @return This must match the Name of a Volume.
*
*/
private @Nullable String volumeName;
private VolumeMountResponse() {}
/**
* @return Path within the container at which the volume should be mounted.Must not contain ':'.
*
*/
public Optional mountPath() {
return Optional.ofNullable(this.mountPath);
}
/**
* @return Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
*
*/
public Optional subPath() {
return Optional.ofNullable(this.subPath);
}
/**
* @return This must match the Name of a Volume.
*
*/
public Optional volumeName() {
return Optional.ofNullable(this.volumeName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VolumeMountResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String mountPath;
private @Nullable String subPath;
private @Nullable String volumeName;
public Builder() {}
public Builder(VolumeMountResponse defaults) {
Objects.requireNonNull(defaults);
this.mountPath = defaults.mountPath;
this.subPath = defaults.subPath;
this.volumeName = defaults.volumeName;
}
@CustomType.Setter
public Builder mountPath(@Nullable String mountPath) {
this.mountPath = mountPath;
return this;
}
@CustomType.Setter
public Builder subPath(@Nullable String subPath) {
this.subPath = subPath;
return this;
}
@CustomType.Setter
public Builder volumeName(@Nullable String volumeName) {
this.volumeName = volumeName;
return this;
}
public VolumeMountResponse build() {
final var _resultValue = new VolumeMountResponse();
_resultValue.mountPath = mountPath;
_resultValue.subPath = subPath;
_resultValue.volumeName = volumeName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy