// *** 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.opensearch.outputs;

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

@CustomType
public final class OutboundConnectionRemoteDomainInfo {
    /**
     * @return The name of the remote domain.
     * 
     */
    private String domainName;
    /**
     * @return The Account ID of the owner of the remote domain.
     * 
     */
    private String ownerId;
    /**
     * @return The region of the remote domain.
     * 
     */
    private String region;

    private OutboundConnectionRemoteDomainInfo() {}
    /**
     * @return The name of the remote domain.
     * 
     */
    public String domainName() {
        return this.domainName;
    }
    /**
     * @return The Account ID of the owner of the remote domain.
     * 
     */
    public String ownerId() {
        return this.ownerId;
    }
    /**
     * @return The region of the remote domain.
     * 
     */
    public String region() {
        return this.region;
    }

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

    public static Builder builder(OutboundConnectionRemoteDomainInfo defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String domainName;
        private String ownerId;
        private String region;
        public Builder() {}
        public Builder(OutboundConnectionRemoteDomainInfo defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.domainName = defaults.domainName;
    	      this.ownerId = defaults.ownerId;
    	      this.region = defaults.region;
        }

        @CustomType.Setter
        public Builder domainName(String domainName) {
            this.domainName = Objects.requireNonNull(domainName);
            return this;
        }
        @CustomType.Setter
        public Builder ownerId(String ownerId) {
            this.ownerId = Objects.requireNonNull(ownerId);
            return this;
        }
        @CustomType.Setter
        public Builder region(String region) {
            this.region = Objects.requireNonNull(region);
            return this;
        }
        public OutboundConnectionRemoteDomainInfo build() {
            final var o = new OutboundConnectionRemoteDomainInfo();
            o.domainName = domainName;
            o.ownerId = ownerId;
            o.region = region;
            return o;
        }
    }
}
