java.lang.Object
com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig
-
Constructor Summary
Constructors
Creates an instance of Ipv6ExpressRouteCircuitPeeringConfig class.
-
Method Summary
fromJson(com.azure.json.JsonReader jsonReader)
Reads an instance of Ipv6ExpressRouteCircuitPeeringConfig from the JsonReader.
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.
com.azure.json.JsonWriter
toJson(com.azure.json.JsonWriter jsonWriter)
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
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
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.
-
-
fromJson
Reads an instance of Ipv6ExpressRouteCircuitPeeringConfig from the JsonReader.
- Parameters:
jsonReader - The JsonReader being read.
- Returns:
- An instance of Ipv6ExpressRouteCircuitPeeringConfig if the JsonReader was pointing to an instance of it,
or null if it was pointing to JSON null.
- Throws:
IOException - If an error occurs while reading the Ipv6ExpressRouteCircuitPeeringConfig.