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

com.pulumi.azurenative.apimanagement.outputs.VirtualNetworkConfigurationResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.pulumi.azurenative.apimanagement.outputs;

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

@CustomType
public final class VirtualNetworkConfigurationResponse {
    /**
     * @return The full resource ID of a subnet in a virtual network to deploy the API Management service in.
     * 
     */
    private @Nullable String subnetResourceId;
    /**
     * @return The name of the subnet.
     * 
     */
    private String subnetname;
    /**
     * @return The virtual network ID. This is typically a GUID. Expect a null GUID by default.
     * 
     */
    private String vnetid;

    private VirtualNetworkConfigurationResponse() {}
    /**
     * @return The full resource ID of a subnet in a virtual network to deploy the API Management service in.
     * 
     */
    public Optional subnetResourceId() {
        return Optional.ofNullable(this.subnetResourceId);
    }
    /**
     * @return The name of the subnet.
     * 
     */
    public String subnetname() {
        return this.subnetname;
    }
    /**
     * @return The virtual network ID. This is typically a GUID. Expect a null GUID by default.
     * 
     */
    public String vnetid() {
        return this.vnetid;
    }

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

    public static Builder builder(VirtualNetworkConfigurationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String subnetResourceId;
        private String subnetname;
        private String vnetid;
        public Builder() {}
        public Builder(VirtualNetworkConfigurationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.subnetResourceId = defaults.subnetResourceId;
    	      this.subnetname = defaults.subnetname;
    	      this.vnetid = defaults.vnetid;
        }

        @CustomType.Setter
        public Builder subnetResourceId(@Nullable String subnetResourceId) {

            this.subnetResourceId = subnetResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder subnetname(String subnetname) {
            if (subnetname == null) {
              throw new MissingRequiredPropertyException("VirtualNetworkConfigurationResponse", "subnetname");
            }
            this.subnetname = subnetname;
            return this;
        }
        @CustomType.Setter
        public Builder vnetid(String vnetid) {
            if (vnetid == null) {
              throw new MissingRequiredPropertyException("VirtualNetworkConfigurationResponse", "vnetid");
            }
            this.vnetid = vnetid;
            return this;
        }
        public VirtualNetworkConfigurationResponse build() {
            final var _resultValue = new VirtualNetworkConfigurationResponse();
            _resultValue.subnetResourceId = subnetResourceId;
            _resultValue.subnetname = subnetname;
            _resultValue.vnetid = vnetid;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy