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

com.pulumi.aws.fsx.outputs.GetOntapStorageVirtualMachineEndpointIscsi 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 GetOntapStorageVirtualMachineEndpointIscsi {
    private String dnsName;
    private List ipAddresses;

    private GetOntapStorageVirtualMachineEndpointIscsi() {}
    public String dnsName() {
        return this.dnsName;
    }
    public List ipAddresses() {
        return this.ipAddresses;
    }

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

    public static Builder builder(GetOntapStorageVirtualMachineEndpointIscsi defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String dnsName;
        private List ipAddresses;
        public Builder() {}
        public Builder(GetOntapStorageVirtualMachineEndpointIscsi 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("GetOntapStorageVirtualMachineEndpointIscsi", "dnsName");
            }
            this.dnsName = dnsName;
            return this;
        }
        @CustomType.Setter
        public Builder ipAddresses(List ipAddresses) {
            if (ipAddresses == null) {
              throw new MissingRequiredPropertyException("GetOntapStorageVirtualMachineEndpointIscsi", "ipAddresses");
            }
            this.ipAddresses = ipAddresses;
            return this;
        }
        public Builder ipAddresses(String... ipAddresses) {
            return ipAddresses(List.of(ipAddresses));
        }
        public GetOntapStorageVirtualMachineEndpointIscsi build() {
            final var _resultValue = new GetOntapStorageVirtualMachineEndpointIscsi();
            _resultValue.dnsName = dnsName;
            _resultValue.ipAddresses = ipAddresses;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy