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

com.pulumi.meraki.networks.outputs.GetApplianceVpnSiteToSiteVpnItemHub Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.networks.outputs;

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

@CustomType
public final class GetApplianceVpnSiteToSiteVpnItemHub {
    /**
     * @return The network ID of the hub.
     * 
     */
    private String hubId;
    /**
     * @return Indicates whether default route traffic should be sent to this hub.
     * 
     */
    private Boolean useDefaultRoute;

    private GetApplianceVpnSiteToSiteVpnItemHub() {}
    /**
     * @return The network ID of the hub.
     * 
     */
    public String hubId() {
        return this.hubId;
    }
    /**
     * @return Indicates whether default route traffic should be sent to this hub.
     * 
     */
    public Boolean useDefaultRoute() {
        return this.useDefaultRoute;
    }

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

    public static Builder builder(GetApplianceVpnSiteToSiteVpnItemHub defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String hubId;
        private Boolean useDefaultRoute;
        public Builder() {}
        public Builder(GetApplianceVpnSiteToSiteVpnItemHub defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.hubId = defaults.hubId;
    	      this.useDefaultRoute = defaults.useDefaultRoute;
        }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy