sdk/java/src/main/java/com/pulumi/ovh/CloudProject/outputs/NetworkPrivateRegionsAttribute.java
<reponame>lbrlabs/pulumi-ovh// *** 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.CloudProject.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class NetworkPrivateRegionsAttribute {
    private @Nullable String openstackid;
    private @Nullable String region;
    /**
     * @return the status of the network. should be normally set to &#39;ACTIVE&#39;.
     * 
     */
    private String status;

    private NetworkPrivateRegionsAttribute() {}
    public Optional<String> openstackid() {
        return Optional.ofNullable(this.openstackid);
    }
    public Optional<String> region() {
        return Optional.ofNullable(this.region);
    }
    /**
     * @return the status of the network. should be normally set to &#39;ACTIVE&#39;.
     * 
     */
    public String status() {
        return this.status;
    }

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

    public static Builder builder(NetworkPrivateRegionsAttribute defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String openstackid;
        private @Nullable String region;
        private String status;
        public Builder() {}
        public Builder(NetworkPrivateRegionsAttribute defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.openstackid = defaults.openstackid;
    	      this.region = defaults.region;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder openstackid(@Nullable String openstackid) {
            this.openstackid = openstackid;
            return this;
        }
        @CustomType.Setter
        public Builder region(@Nullable String region) {
            this.region = region;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            this.status = Objects.requireNonNull(status);
            return this;
        }
        public NetworkPrivateRegionsAttribute build() {
            final var o = new NetworkPrivateRegionsAttribute();
            o.openstackid = openstackid;
            o.region = region;
            o.status = status;
            return o;
        }
    }
}
