java.lang.Object
com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig
public final class Ipv6ExpressRouteCircuitPeeringConfig
extends Object
Contains IPv6 peering config.
-
Constructor Summary
Constructors
Creates an instance of Ipv6ExpressRouteCircuitPeeringConfig class.
-
Method Summary
Get the microsoftPeeringConfig property: The Microsoft peering configuration.
Get the primaryPeerAddressPrefix property: The primary address prefix.
com.azure.core.management.SubResource
Get the routeFilter property: The reference to the RouteFilter resource.
Get the secondaryPeerAddressPrefix property: The secondary address prefix.
Get the state property: The state of peering.
void
Set the microsoftPeeringConfig property: The Microsoft peering configuration.
Set the primaryPeerAddressPrefix property: The primary address prefix.
Set the routeFilter property: The reference to the RouteFilter resource.
Set the secondaryPeerAddressPrefix property: The secondary address prefix.
Set the state property: The state of peering.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Ipv6ExpressRouteCircuitPeeringConfig
public Ipv6ExpressRouteCircuitPeeringConfig()
Creates an instance of Ipv6ExpressRouteCircuitPeeringConfig class.
-
Method Details
-
primaryPeerAddressPrefix
public String primaryPeerAddressPrefix()
Get the primaryPeerAddressPrefix property: The primary address prefix.
- Returns:
- the primaryPeerAddressPrefix value.
-
withPrimaryPeerAddressPrefix
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
Set the secondaryPeerAddressPrefix property: The secondary address prefix.
- Parameters:
secondaryPeerAddressPrefix - the secondaryPeerAddressPrefix value to set.
- Returns:
- the Ipv6ExpressRouteCircuitPeeringConfig object itself.
-
microsoftPeeringConfig
Get the microsoftPeeringConfig property: The Microsoft peering configuration.
- Returns:
- the microsoftPeeringConfig value.
-
withMicrosoftPeeringConfig
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
Set the routeFilter property: The reference to the RouteFilter resource.
- Parameters:
routeFilter - the routeFilter value to set.
- Returns:
- the Ipv6ExpressRouteCircuitPeeringConfig object itself.
-
state
Get the state property: The state of peering.
- Returns:
- the state value.
-
withState
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.