com.pulumi.alicloud.fc.outputs.V3FunctionOssMountConfigMountPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.fc.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class V3FunctionOssMountConfigMountPoint {
/**
* @return OSS Bucket name.
*
*/
private @Nullable String bucketName;
/**
* @return Path of the mounted OSS Bucket.
*
*/
private @Nullable String bucketPath;
/**
* @return OSS access endpoint.
*
*/
private @Nullable String endpoint;
private @Nullable String mountDir;
/**
* @return Read-only.
*
*/
private @Nullable Boolean readOnly;
private V3FunctionOssMountConfigMountPoint() {}
/**
* @return OSS Bucket name.
*
*/
public Optional bucketName() {
return Optional.ofNullable(this.bucketName);
}
/**
* @return Path of the mounted OSS Bucket.
*
*/
public Optional bucketPath() {
return Optional.ofNullable(this.bucketPath);
}
/**
* @return OSS access endpoint.
*
*/
public Optional endpoint() {
return Optional.ofNullable(this.endpoint);
}
public Optional mountDir() {
return Optional.ofNullable(this.mountDir);
}
/**
* @return Read-only.
*
*/
public Optional readOnly() {
return Optional.ofNullable(this.readOnly);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V3FunctionOssMountConfigMountPoint defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String bucketName;
private @Nullable String bucketPath;
private @Nullable String endpoint;
private @Nullable String mountDir;
private @Nullable Boolean readOnly;
public Builder() {}
public Builder(V3FunctionOssMountConfigMountPoint defaults) {
Objects.requireNonNull(defaults);
this.bucketName = defaults.bucketName;
this.bucketPath = defaults.bucketPath;
this.endpoint = defaults.endpoint;
this.mountDir = defaults.mountDir;
this.readOnly = defaults.readOnly;
}
@CustomType.Setter
public Builder bucketName(@Nullable String bucketName) {
this.bucketName = bucketName;
return this;
}
@CustomType.Setter
public Builder bucketPath(@Nullable String bucketPath) {
this.bucketPath = bucketPath;
return this;
}
@CustomType.Setter
public Builder endpoint(@Nullable String endpoint) {
this.endpoint = endpoint;
return this;
}
@CustomType.Setter
public Builder mountDir(@Nullable String mountDir) {
this.mountDir = mountDir;
return this;
}
@CustomType.Setter
public Builder readOnly(@Nullable Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
public V3FunctionOssMountConfigMountPoint build() {
final var _resultValue = new V3FunctionOssMountConfigMountPoint();
_resultValue.bucketName = bucketName;
_resultValue.bucketPath = bucketPath;
_resultValue.endpoint = endpoint;
_resultValue.mountDir = mountDir;
_resultValue.readOnly = readOnly;
return _resultValue;
}
}
}