com.pulumi.meraki.networks.outputs.GetApplianceVpnSiteToSiteVpnItemHub Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki resources
// *** 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;
}
}
}