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

com.pulumi.aws.fsx.inputs.FileCacheDataRepositoryAssociationNfArgs 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.72.0
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.fsx.inputs;

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


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

    public static final FileCacheDataRepositoryAssociationNfArgs Empty = new FileCacheDataRepositoryAssociationNfArgs();

    /**
     * A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name. The provided IP addresses can either be the IP addresses of a DNS forwarder or resolver that the customer manages and runs inside the customer VPC, or the IP addresses of the on-premises DNS servers.
     * 
     */
    @Import(name="dnsIps")
    private @Nullable Output> dnsIps;

    /**
     * @return A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name. The provided IP addresses can either be the IP addresses of a DNS forwarder or resolver that the customer manages and runs inside the customer VPC, or the IP addresses of the on-premises DNS servers.
     * 
     */
    public Optional>> dnsIps() {
        return Optional.ofNullable(this.dnsIps);
    }

    /**
     * The version of the NFS (Network File System) protocol of the NFS data repository. The only supported value is NFS3, which indicates that the data repository must support the NFSv3 protocol. The only supported value is `NFS3`.
     * 
     */
    @Import(name="version", required=true)
    private Output version;

    /**
     * @return The version of the NFS (Network File System) protocol of the NFS data repository. The only supported value is NFS3, which indicates that the data repository must support the NFSv3 protocol. The only supported value is `NFS3`.
     * 
     */
    public Output version() {
        return this.version;
    }

    private FileCacheDataRepositoryAssociationNfArgs() {}

    private FileCacheDataRepositoryAssociationNfArgs(FileCacheDataRepositoryAssociationNfArgs $) {
        this.dnsIps = $.dnsIps;
        this.version = $.version;
    }

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

    public static final class Builder {
        private FileCacheDataRepositoryAssociationNfArgs $;

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

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

        /**
         * @param dnsIps A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name. The provided IP addresses can either be the IP addresses of a DNS forwarder or resolver that the customer manages and runs inside the customer VPC, or the IP addresses of the on-premises DNS servers.
         * 
         * @return builder
         * 
         */
        public Builder dnsIps(@Nullable Output> dnsIps) {
            $.dnsIps = dnsIps;
            return this;
        }

        /**
         * @param dnsIps A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name. The provided IP addresses can either be the IP addresses of a DNS forwarder or resolver that the customer manages and runs inside the customer VPC, or the IP addresses of the on-premises DNS servers.
         * 
         * @return builder
         * 
         */
        public Builder dnsIps(List dnsIps) {
            return dnsIps(Output.of(dnsIps));
        }

        /**
         * @param dnsIps A list of up to 2 IP addresses of DNS servers used to resolve the NFS file system domain name. The provided IP addresses can either be the IP addresses of a DNS forwarder or resolver that the customer manages and runs inside the customer VPC, or the IP addresses of the on-premises DNS servers.
         * 
         * @return builder
         * 
         */
        public Builder dnsIps(String... dnsIps) {
            return dnsIps(List.of(dnsIps));
        }

        /**
         * @param version The version of the NFS (Network File System) protocol of the NFS data repository. The only supported value is NFS3, which indicates that the data repository must support the NFSv3 protocol. The only supported value is `NFS3`.
         * 
         * @return builder
         * 
         */
        public Builder version(Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version The version of the NFS (Network File System) protocol of the NFS data repository. The only supported value is NFS3, which indicates that the data repository must support the NFSv3 protocol. The only supported value is `NFS3`.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public FileCacheDataRepositoryAssociationNfArgs build() {
            if ($.version == null) {
                throw new MissingRequiredPropertyException("FileCacheDataRepositoryAssociationNfArgs", "version");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy