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

com.pulumi.aws.storagegateway.inputs.NfsFileShareNfsFileShareDefaultsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.storagegateway.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class NfsFileShareNfsFileShareDefaultsArgs extends com.pulumi.resources.ResourceArgs {

    public static final NfsFileShareNfsFileShareDefaultsArgs Empty = new NfsFileShareNfsFileShareDefaultsArgs();

    /**
     * The Unix directory mode in the string form "nnnn". Defaults to `"0777"`.
     * 
     */
    @Import(name="directoryMode")
    private @Nullable Output directoryMode;

    /**
     * @return The Unix directory mode in the string form "nnnn". Defaults to `"0777"`.
     * 
     */
    public Optional> directoryMode() {
        return Optional.ofNullable(this.directoryMode);
    }

    /**
     * The Unix file mode in the string form "nnnn". Defaults to `"0666"`.
     * 
     */
    @Import(name="fileMode")
    private @Nullable Output fileMode;

    /**
     * @return The Unix file mode in the string form "nnnn". Defaults to `"0666"`.
     * 
     */
    public Optional> fileMode() {
        return Optional.ofNullable(this.fileMode);
    }

    /**
     * The default group ID for the file share (unless the files have another group ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
     * 
     */
    @Import(name="groupId")
    private @Nullable Output groupId;

    /**
     * @return The default group ID for the file share (unless the files have another group ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
     * 
     */
    public Optional> groupId() {
        return Optional.ofNullable(this.groupId);
    }

    /**
     * The default owner ID for the file share (unless the files have another owner ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
     * 
     */
    @Import(name="ownerId")
    private @Nullable Output ownerId;

    /**
     * @return The default owner ID for the file share (unless the files have another owner ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
     * 
     */
    public Optional> ownerId() {
        return Optional.ofNullable(this.ownerId);
    }

    private NfsFileShareNfsFileShareDefaultsArgs() {}

    private NfsFileShareNfsFileShareDefaultsArgs(NfsFileShareNfsFileShareDefaultsArgs $) {
        this.directoryMode = $.directoryMode;
        this.fileMode = $.fileMode;
        this.groupId = $.groupId;
        this.ownerId = $.ownerId;
    }

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

    public static final class Builder {
        private NfsFileShareNfsFileShareDefaultsArgs $;

        public Builder() {
            $ = new NfsFileShareNfsFileShareDefaultsArgs();
        }

        public Builder(NfsFileShareNfsFileShareDefaultsArgs defaults) {
            $ = new NfsFileShareNfsFileShareDefaultsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param directoryMode The Unix directory mode in the string form "nnnn". Defaults to `"0777"`.
         * 
         * @return builder
         * 
         */
        public Builder directoryMode(@Nullable Output directoryMode) {
            $.directoryMode = directoryMode;
            return this;
        }

        /**
         * @param directoryMode The Unix directory mode in the string form "nnnn". Defaults to `"0777"`.
         * 
         * @return builder
         * 
         */
        public Builder directoryMode(String directoryMode) {
            return directoryMode(Output.of(directoryMode));
        }

        /**
         * @param fileMode The Unix file mode in the string form "nnnn". Defaults to `"0666"`.
         * 
         * @return builder
         * 
         */
        public Builder fileMode(@Nullable Output fileMode) {
            $.fileMode = fileMode;
            return this;
        }

        /**
         * @param fileMode The Unix file mode in the string form "nnnn". Defaults to `"0666"`.
         * 
         * @return builder
         * 
         */
        public Builder fileMode(String fileMode) {
            return fileMode(Output.of(fileMode));
        }

        /**
         * @param groupId The default group ID for the file share (unless the files have another group ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
         * 
         * @return builder
         * 
         */
        public Builder groupId(@Nullable Output groupId) {
            $.groupId = groupId;
            return this;
        }

        /**
         * @param groupId The default group ID for the file share (unless the files have another group ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
         * 
         * @return builder
         * 
         */
        public Builder groupId(String groupId) {
            return groupId(Output.of(groupId));
        }

        /**
         * @param ownerId The default owner ID for the file share (unless the files have another owner ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
         * 
         * @return builder
         * 
         */
        public Builder ownerId(@Nullable Output ownerId) {
            $.ownerId = ownerId;
            return this;
        }

        /**
         * @param ownerId The default owner ID for the file share (unless the files have another owner ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
         * 
         * @return builder
         * 
         */
        public Builder ownerId(String ownerId) {
            return ownerId(Output.of(ownerId));
        }

        public NfsFileShareNfsFileShareDefaultsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy