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

com.pulumi.azure.apimanagement.outputs.ServiceAdditionalLocationVirtualNetworkConfiguration Maven / Gradle / Ivy

// *** 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.azure.apimanagement.outputs;

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

@CustomType
public final class ServiceAdditionalLocationVirtualNetworkConfiguration {
    /**
     * @return The id of the subnet that will be used for the API Management.
     * 
     */
    private String subnetId;

    private ServiceAdditionalLocationVirtualNetworkConfiguration() {}
    /**
     * @return The id of the subnet that will be used for the API Management.
     * 
     */
    public String subnetId() {
        return this.subnetId;
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy