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

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

// *** 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 GetOntapFileSystemEndpointIntercluster {
    /**
     * @return DNS name for the file system.
     * 
     */
    private String dnsName;
    private List ipAddresses;

    private GetOntapFileSystemEndpointIntercluster() {}
    /**
     * @return DNS name for the file system.
     * 
     */
    public String dnsName() {
        return this.dnsName;
    }
    public List ipAddresses() {
        return this.ipAddresses;
    }

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy