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

com.ovhcloud.pulumi.ovh.CloudProjectDatabase.outputs.GetDatabaseNode Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.CloudProjectDatabase.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
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'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'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) {
            if (networkId == null) {
              throw new MissingRequiredPropertyException("GetDatabaseNode", "networkId");
            }
            this.networkId = networkId;
            return this;
        }
        @CustomType.Setter
        public Builder region(String region) {
            if (region == null) {
              throw new MissingRequiredPropertyException("GetDatabaseNode", "region");
            }
            this.region = region;
            return this;
        }
        @CustomType.Setter
        public Builder subnetId(String subnetId) {
            if (subnetId == null) {
              throw new MissingRequiredPropertyException("GetDatabaseNode", "subnetId");
            }
            this.subnetId = subnetId;
            return this;
        }
        public GetDatabaseNode build() {
            final var _resultValue = new GetDatabaseNode();
            _resultValue.networkId = networkId;
            _resultValue.region = region;
            _resultValue.subnetId = subnetId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy