com.pulumi.azurenative.network.outputs.StaticRoutesConfigResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.network.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class StaticRoutesConfigResponse {
/**
* @return Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
*
*/
private Boolean propagateStaticRoutes;
/**
* @return Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
*
*/
private @Nullable String vnetLocalRouteOverrideCriteria;
private StaticRoutesConfigResponse() {}
/**
* @return Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
*
*/
public Boolean propagateStaticRoutes() {
return this.propagateStaticRoutes;
}
/**
* @return Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
*
*/
public Optional vnetLocalRouteOverrideCriteria() {
return Optional.ofNullable(this.vnetLocalRouteOverrideCriteria);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StaticRoutesConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean propagateStaticRoutes;
private @Nullable String vnetLocalRouteOverrideCriteria;
public Builder() {}
public Builder(StaticRoutesConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.propagateStaticRoutes = defaults.propagateStaticRoutes;
this.vnetLocalRouteOverrideCriteria = defaults.vnetLocalRouteOverrideCriteria;
}
@CustomType.Setter
public Builder propagateStaticRoutes(Boolean propagateStaticRoutes) {
if (propagateStaticRoutes == null) {
throw new MissingRequiredPropertyException("StaticRoutesConfigResponse", "propagateStaticRoutes");
}
this.propagateStaticRoutes = propagateStaticRoutes;
return this;
}
@CustomType.Setter
public Builder vnetLocalRouteOverrideCriteria(@Nullable String vnetLocalRouteOverrideCriteria) {
this.vnetLocalRouteOverrideCriteria = vnetLocalRouteOverrideCriteria;
return this;
}
public StaticRoutesConfigResponse build() {
final var _resultValue = new StaticRoutesConfigResponse();
_resultValue.propagateStaticRoutes = propagateStaticRoutes;
_resultValue.vnetLocalRouteOverrideCriteria = vnetLocalRouteOverrideCriteria;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy