All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.alicloud.fc.outputs.V3FunctionNasConfig Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
Show newest version
// *** 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.alicloud.fc.outputs.V3FunctionNasConfigMountPoint;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class V3FunctionNasConfig {
    /**
     * @return Group ID.
     * 
     */
    private @Nullable Integer groupId;
    /**
     * @return Mount point list. See `mount_points` below.
     * 
     */
    private @Nullable List mountPoints;
    /**
     * @return Account ID.
     * 
     */
    private @Nullable Integer userId;

    private V3FunctionNasConfig() {}
    /**
     * @return Group ID.
     * 
     */
    public Optional groupId() {
        return Optional.ofNullable(this.groupId);
    }
    /**
     * @return Mount point list. See `mount_points` below.
     * 
     */
    public List mountPoints() {
        return this.mountPoints == null ? List.of() : this.mountPoints;
    }
    /**
     * @return Account ID.
     * 
     */
    public Optional userId() {
        return Optional.ofNullable(this.userId);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(V3FunctionNasConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer groupId;
        private @Nullable List mountPoints;
        private @Nullable Integer userId;
        public Builder() {}
        public Builder(V3FunctionNasConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.groupId = defaults.groupId;
    	      this.mountPoints = defaults.mountPoints;
    	      this.userId = defaults.userId;
        }

        @CustomType.Setter
        public Builder groupId(@Nullable Integer groupId) {

            this.groupId = groupId;
            return this;
        }
        @CustomType.Setter
        public Builder mountPoints(@Nullable List mountPoints) {

            this.mountPoints = mountPoints;
            return this;
        }
        public Builder mountPoints(V3FunctionNasConfigMountPoint... mountPoints) {
            return mountPoints(List.of(mountPoints));
        }
        @CustomType.Setter
        public Builder userId(@Nullable Integer userId) {

            this.userId = userId;
            return this;
        }
        public V3FunctionNasConfig build() {
            final var _resultValue = new V3FunctionNasConfig();
            _resultValue.groupId = groupId;
            _resultValue.mountPoints = mountPoints;
            _resultValue.userId = userId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy