Class ExpressRouteConnectionInner
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionInner
-
public final class ExpressRouteConnectionInner extends com.azure.core.management.SubResourceExpressRouteConnection resource.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteConnectionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthorizationKey()Get the authorizationKey property: Authorization key to establish the connection.BooleanenableInternetSecurity()Get the enableInternetSecurity property: Enable internet security.ExpressRouteCircuitPeeringIdexpressRouteCircuitPeering()Get the expressRouteCircuitPeering property: The ExpressRoute circuit peering.BooleanexpressRouteGatewayBypass()Get the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.Stringname()Get the name property: The name of the resource.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the express route connection resource.RoutingConfigurationroutingConfiguration()Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.IntegerroutingWeight()Get the routingWeight property: The routing weight associated to the connection.voidvalidate()Validates the instance.ExpressRouteConnectionInnerwithAuthorizationKey(String authorizationKey)Set the authorizationKey property: Authorization key to establish the connection.ExpressRouteConnectionInnerwithEnableInternetSecurity(Boolean enableInternetSecurity)Set the enableInternetSecurity property: Enable internet security.ExpressRouteConnectionInnerwithExpressRouteCircuitPeering(ExpressRouteCircuitPeeringId expressRouteCircuitPeering)Set the expressRouteCircuitPeering property: The ExpressRoute circuit peering.ExpressRouteConnectionInnerwithExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)Set the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.ExpressRouteConnectionInnerwithId(String id)ExpressRouteConnectionInnerwithName(String name)Set the name property: The name of the resource.ExpressRouteConnectionInnerwithRoutingConfiguration(RoutingConfiguration routingConfiguration)Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.ExpressRouteConnectionInnerwithRoutingWeight(Integer routingWeight)Set the routingWeight property: The routing weight associated to the connection.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the resource.- Returns:
- the name value.
-
withName
public ExpressRouteConnectionInner withName(String name)
Set the name property: The name of the resource.- Parameters:
name- the name value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
withId
public ExpressRouteConnectionInner withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the express route connection resource.- Returns:
- the provisioningState value.
-
expressRouteCircuitPeering
public ExpressRouteCircuitPeeringId expressRouteCircuitPeering()
Get the expressRouteCircuitPeering property: The ExpressRoute circuit peering.- Returns:
- the expressRouteCircuitPeering value.
-
withExpressRouteCircuitPeering
public ExpressRouteConnectionInner withExpressRouteCircuitPeering(ExpressRouteCircuitPeeringId expressRouteCircuitPeering)
Set the expressRouteCircuitPeering property: The ExpressRoute circuit peering.- Parameters:
expressRouteCircuitPeering- the expressRouteCircuitPeering value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
authorizationKey
public String authorizationKey()
Get the authorizationKey property: Authorization key to establish the connection.- Returns:
- the authorizationKey value.
-
withAuthorizationKey
public ExpressRouteConnectionInner withAuthorizationKey(String authorizationKey)
Set the authorizationKey property: Authorization key to establish the connection.- Parameters:
authorizationKey- the authorizationKey value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
routingWeight
public Integer routingWeight()
Get the routingWeight property: The routing weight associated to the connection.- Returns:
- the routingWeight value.
-
withRoutingWeight
public ExpressRouteConnectionInner withRoutingWeight(Integer routingWeight)
Set the routingWeight property: The routing weight associated to the connection.- Parameters:
routingWeight- the routingWeight value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
enableInternetSecurity
public Boolean enableInternetSecurity()
Get the enableInternetSecurity property: Enable internet security.- Returns:
- the enableInternetSecurity value.
-
withEnableInternetSecurity
public ExpressRouteConnectionInner withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enableInternetSecurity property: Enable internet security.- Parameters:
enableInternetSecurity- the enableInternetSecurity value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
expressRouteGatewayBypass
public Boolean expressRouteGatewayBypass()
Get the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.- Returns:
- the expressRouteGatewayBypass value.
-
withExpressRouteGatewayBypass
public ExpressRouteConnectionInner withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)
Set the expressRouteGatewayBypass property: Enable FastPath to vWan Firewall hub.- Parameters:
expressRouteGatewayBypass- the expressRouteGatewayBypass value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
routingConfiguration
public RoutingConfiguration routingConfiguration()
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.- Returns:
- the routingConfiguration value.
-
withRoutingConfiguration
public ExpressRouteConnectionInner withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.- Parameters:
routingConfiguration- the routingConfiguration value to set.- Returns:
- the ExpressRouteConnectionInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-