sdk/java/src/main/java/com/pulumi/ovh/CloudProjectDatabase/outputs/GetDatabaseNode.java
<gh_stars>0// *** 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.ovh.CloudProjectDatabase.outputs;

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

@CustomType
public final class GetDatabaseNode {
    /**
     * @return Private network id in which the node should be deployed. It&#39;s the regional openstackId of the private network
     * 
     */
    private String networkId;
    /**
     * @return Public cloud region in which the node should be deployed.
     * 
     */
    private String region;
    /**
     * @return Private subnet ID in which the node is.
     * 
     */
    private String subnetId;

    private GetDatabaseNode() {}
    /**
     * @return Private network id in which the node should be deployed. It&#39;s the regional openstackId of the private network
     * 
     */
    public String networkId() {
        return this.networkId;
    }
    /**
     * @return Public cloud region in which the node should be deployed.
     * 
     */
    public String region() {
        return this.region;
    }
    /**
     * @return Private subnet ID in which the node is.
     * 
     */
    public String subnetId() {
        return this.subnetId;
    }

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

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

        @CustomType.Setter
        public Builder networkId(String networkId) {
            this.networkId = Objects.requireNonNull(networkId);
            return this;
        }
        @CustomType.Setter
        public Builder region(String region) {
            this.region = Objects.requireNonNull(region);
            return this;
        }
        @CustomType.Setter
        public Builder subnetId(String subnetId) {
            this.subnetId = Objects.requireNonNull(subnetId);
            return this;
        }
        public GetDatabaseNode build() {
            final var o = new GetDatabaseNode();
            o.networkId = networkId;
            o.region = region;
            o.subnetId = subnetId;
            return o;
        }
    }
}
