
com.pulumi.azurenative.storagecache.outputs.NamespaceJunctionResponse 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.storagecache.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 NamespaceJunctionResponse {
/**
* @return Namespace path on a cache for a Storage Target.
*
*/
private @Nullable String namespacePath;
/**
* @return Name of the access policy applied to this junction.
*
*/
private @Nullable String nfsAccessPolicy;
/**
* @return NFS export where targetPath exists.
*
*/
private @Nullable String nfsExport;
/**
* @return Path in Storage Target to which namespacePath points.
*
*/
private @Nullable String targetPath;
private NamespaceJunctionResponse() {}
/**
* @return Namespace path on a cache for a Storage Target.
*
*/
public Optional namespacePath() {
return Optional.ofNullable(this.namespacePath);
}
/**
* @return Name of the access policy applied to this junction.
*
*/
public Optional nfsAccessPolicy() {
return Optional.ofNullable(this.nfsAccessPolicy);
}
/**
* @return NFS export where targetPath exists.
*
*/
public Optional nfsExport() {
return Optional.ofNullable(this.nfsExport);
}
/**
* @return Path in Storage Target to which namespacePath points.
*
*/
public Optional targetPath() {
return Optional.ofNullable(this.targetPath);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NamespaceJunctionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String namespacePath;
private @Nullable String nfsAccessPolicy;
private @Nullable String nfsExport;
private @Nullable String targetPath;
public Builder() {}
public Builder(NamespaceJunctionResponse defaults) {
Objects.requireNonNull(defaults);
this.namespacePath = defaults.namespacePath;
this.nfsAccessPolicy = defaults.nfsAccessPolicy;
this.nfsExport = defaults.nfsExport;
this.targetPath = defaults.targetPath;
}
@CustomType.Setter
public Builder namespacePath(@Nullable String namespacePath) {
this.namespacePath = namespacePath;
return this;
}
@CustomType.Setter
public Builder nfsAccessPolicy(@Nullable String nfsAccessPolicy) {
this.nfsAccessPolicy = nfsAccessPolicy;
return this;
}
@CustomType.Setter
public Builder nfsExport(@Nullable String nfsExport) {
this.nfsExport = nfsExport;
return this;
}
@CustomType.Setter
public Builder targetPath(@Nullable String targetPath) {
this.targetPath = targetPath;
return this;
}
public NamespaceJunctionResponse build() {
final var _resultValue = new NamespaceJunctionResponse();
_resultValue.namespacePath = namespacePath;
_resultValue.nfsAccessPolicy = nfsAccessPolicy;
_resultValue.nfsExport = nfsExport;
_resultValue.targetPath = targetPath;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy