// *** 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.gcp.vmwareengine.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 NetworkVpcNetwork {
    /**
     * @return (Output)
     * The relative resource name of the service VPC network this VMware Engine network is attached to.
     * For example: projects/123123/global/networks/my-network
     * 
     */
    private @Nullable String network;
    /**
     * @return VMware Engine network type.
     * Possible values are: `LEGACY`.
     * 
     */
    private @Nullable String type;

    private NetworkVpcNetwork() {}
    /**
     * @return (Output)
     * The relative resource name of the service VPC network this VMware Engine network is attached to.
     * For example: projects/123123/global/networks/my-network
     * 
     */
    public Optional<String> network() {
        return Optional.ofNullable(this.network);
    }
    /**
     * @return VMware Engine network type.
     * Possible values are: `LEGACY`.
     * 
     */
    public Optional<String> type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(NetworkVpcNetwork defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String network;
        private @Nullable String type;
        public Builder() {}
        public Builder(NetworkVpcNetwork defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.network = defaults.network;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder network(@Nullable String network) {
            this.network = network;
            return this;
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {
            this.type = type;
            return this;
        }
        public NetworkVpcNetwork build() {
            final var o = new NetworkVpcNetwork();
            o.network = network;
            o.type = type;
            return o;
        }
    }
}
