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

com.pulumi.aws.fsx.outputs.OpenZfsVolumeNfsExportsClientConfiguration Maven / Gradle / Ivy

Go to download

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

The 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.fsx.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class OpenZfsVolumeNfsExportsClientConfiguration {
    /**
     * @return A value that specifies who can mount the file system. You can provide a wildcard character (*), an IP address (0.0.0.0), or a CIDR address (192.0.2.0/24. By default, Amazon FSx uses the wildcard character when specifying the client.
     * 
     */
    private String clients;
    /**
     * @return The options to use when mounting the file system. Maximum of 20 items. See the [Linix NFS exports man page](https://linux.die.net/man/5/exports) for more information. `crossmount` and `sync` are used by default.
     * 
     */
    private List options;

    private OpenZfsVolumeNfsExportsClientConfiguration() {}
    /**
     * @return A value that specifies who can mount the file system. You can provide a wildcard character (*), an IP address (0.0.0.0), or a CIDR address (192.0.2.0/24. By default, Amazon FSx uses the wildcard character when specifying the client.
     * 
     */
    public String clients() {
        return this.clients;
    }
    /**
     * @return The options to use when mounting the file system. Maximum of 20 items. See the [Linix NFS exports man page](https://linux.die.net/man/5/exports) for more information. `crossmount` and `sync` are used by default.
     * 
     */
    public List options() {
        return this.options;
    }

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

    public static Builder builder(OpenZfsVolumeNfsExportsClientConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String clients;
        private List options;
        public Builder() {}
        public Builder(OpenZfsVolumeNfsExportsClientConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clients = defaults.clients;
    	      this.options = defaults.options;
        }

        @CustomType.Setter
        public Builder clients(String clients) {
            if (clients == null) {
              throw new MissingRequiredPropertyException("OpenZfsVolumeNfsExportsClientConfiguration", "clients");
            }
            this.clients = clients;
            return this;
        }
        @CustomType.Setter
        public Builder options(List options) {
            if (options == null) {
              throw new MissingRequiredPropertyException("OpenZfsVolumeNfsExportsClientConfiguration", "options");
            }
            this.options = options;
            return this;
        }
        public Builder options(String... options) {
            return options(List.of(options));
        }
        public OpenZfsVolumeNfsExportsClientConfiguration build() {
            final var _resultValue = new OpenZfsVolumeNfsExportsClientConfiguration();
            _resultValue.clients = clients;
            _resultValue.options = options;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy