Class Ipv6ExpressRouteCircuitPeeringConfig
- java.lang.Object
-
- com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig
-
public final class Ipv6ExpressRouteCircuitPeeringConfig extends Object
Contains IPv6 peering config.
-
-
Constructor Summary
Constructors Constructor Description Ipv6ExpressRouteCircuitPeeringConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressRouteCircuitPeeringConfigmicrosoftPeeringConfig()Get the microsoftPeeringConfig property: The Microsoft peering configuration.StringprimaryPeerAddressPrefix()Get the primaryPeerAddressPrefix property: The primary address prefix.com.azure.core.management.SubResourcerouteFilter()Get the routeFilter property: The reference to the RouteFilter resource.StringsecondaryPeerAddressPrefix()Get the secondaryPeerAddressPrefix property: The secondary address prefix.ExpressRouteCircuitPeeringStatestate()Get the state property: The state of peering.voidvalidate()Validates the instance.Ipv6ExpressRouteCircuitPeeringConfigwithMicrosoftPeeringConfig(ExpressRouteCircuitPeeringConfig microsoftPeeringConfig)Set the microsoftPeeringConfig property: The Microsoft peering configuration.Ipv6ExpressRouteCircuitPeeringConfigwithPrimaryPeerAddressPrefix(String primaryPeerAddressPrefix)Set the primaryPeerAddressPrefix property: The primary address prefix.Ipv6ExpressRouteCircuitPeeringConfigwithRouteFilter(com.azure.core.management.SubResource routeFilter)Set the routeFilter property: The reference to the RouteFilter resource.Ipv6ExpressRouteCircuitPeeringConfigwithSecondaryPeerAddressPrefix(String secondaryPeerAddressPrefix)Set the secondaryPeerAddressPrefix property: The secondary address prefix.Ipv6ExpressRouteCircuitPeeringConfigwithState(ExpressRouteCircuitPeeringState state)Set the state property: The state of peering.
-
-
-
Method Detail
-
primaryPeerAddressPrefix
public String primaryPeerAddressPrefix()
Get the primaryPeerAddressPrefix property: The primary address prefix.- Returns:
- the primaryPeerAddressPrefix value.
-
withPrimaryPeerAddressPrefix
public Ipv6ExpressRouteCircuitPeeringConfig withPrimaryPeerAddressPrefix(String primaryPeerAddressPrefix)
Set the primaryPeerAddressPrefix property: The primary address prefix.- Parameters:
primaryPeerAddressPrefix- the primaryPeerAddressPrefix value to set.- Returns:
- the Ipv6ExpressRouteCircuitPeeringConfig object itself.
-
secondaryPeerAddressPrefix
public String secondaryPeerAddressPrefix()
Get the secondaryPeerAddressPrefix property: The secondary address prefix.- Returns:
- the secondaryPeerAddressPrefix value.
-
withSecondaryPeerAddressPrefix
public Ipv6ExpressRouteCircuitPeeringConfig withSecondaryPeerAddressPrefix(String secondaryPeerAddressPrefix)
Set the secondaryPeerAddressPrefix property: The secondary address prefix.- Parameters:
secondaryPeerAddressPrefix- the secondaryPeerAddressPrefix value to set.- Returns:
- the Ipv6ExpressRouteCircuitPeeringConfig object itself.
-
microsoftPeeringConfig
public ExpressRouteCircuitPeeringConfig microsoftPeeringConfig()
Get the microsoftPeeringConfig property: The Microsoft peering configuration.- Returns:
- the microsoftPeeringConfig value.
-
withMicrosoftPeeringConfig
public Ipv6ExpressRouteCircuitPeeringConfig withMicrosoftPeeringConfig(ExpressRouteCircuitPeeringConfig microsoftPeeringConfig)
Set the microsoftPeeringConfig property: The Microsoft peering configuration.- Parameters:
microsoftPeeringConfig- the microsoftPeeringConfig value to set.- Returns:
- the Ipv6ExpressRouteCircuitPeeringConfig object itself.
-
routeFilter
public com.azure.core.management.SubResource routeFilter()
Get the routeFilter property: The reference to the RouteFilter resource.- Returns:
- the routeFilter value.
-
withRouteFilter
public Ipv6ExpressRouteCircuitPeeringConfig withRouteFilter(com.azure.core.management.SubResource routeFilter)
Set the routeFilter property: The reference to the RouteFilter resource.- Parameters:
routeFilter- the routeFilter value to set.- Returns:
- the Ipv6ExpressRouteCircuitPeeringConfig object itself.
-
state
public ExpressRouteCircuitPeeringState state()
Get the state property: The state of peering.- Returns:
- the state value.
-
withState
public Ipv6ExpressRouteCircuitPeeringConfig withState(ExpressRouteCircuitPeeringState state)
Set the state property: The state of peering.- Parameters:
state- the state value to set.- Returns:
- the Ipv6ExpressRouteCircuitPeeringConfig object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-