Ipv6ExpressRouteCircuitPeeringConfig Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig

Implements

public final class Ipv6ExpressRouteCircuitPeeringConfig
implements JsonSerializable<Ipv6ExpressRouteCircuitPeeringConfig>

Contains IPv6 peering config.

Constructor Summary

Constructor Description
Ipv6ExpressRouteCircuitPeeringConfig()

Creates an instance of Ipv6ExpressRouteCircuitPeeringConfig class.

Method Summary

Modifier and Type Method and Description
static Ipv6ExpressRouteCircuitPeeringConfig fromJson(JsonReader jsonReader)

Reads an instance of Ipv6ExpressRouteCircuitPeeringConfig from the JsonReader.

ExpressRouteCircuitPeeringConfig microsoftPeeringConfig()

Get the microsoftPeeringConfig property: The Microsoft peering configuration.

String primaryPeerAddressPrefix()

Get the primaryPeerAddressPrefix property: The primary address prefix.

SubResource routeFilter()

Get the routeFilter property: The reference to the RouteFilter resource.

String secondaryPeerAddressPrefix()

Get the secondaryPeerAddressPrefix property: The secondary address prefix.

ExpressRouteCircuitPeeringState state()

Get the state property: The state of peering.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Ipv6ExpressRouteCircuitPeeringConfig withMicrosoftPeeringConfig(ExpressRouteCircuitPeeringConfig microsoftPeeringConfig)

Set the microsoftPeeringConfig property: The Microsoft peering configuration.

Ipv6ExpressRouteCircuitPeeringConfig withPrimaryPeerAddressPrefix(String primaryPeerAddressPrefix)

Set the primaryPeerAddressPrefix property: The primary address prefix.

Ipv6ExpressRouteCircuitPeeringConfig withRouteFilter(SubResource routeFilter)

Set the routeFilter property: The reference to the RouteFilter resource.

Ipv6ExpressRouteCircuitPeeringConfig withSecondaryPeerAddressPrefix(String secondaryPeerAddressPrefix)

Set the secondaryPeerAddressPrefix property: The secondary address prefix.

Ipv6ExpressRouteCircuitPeeringConfig withState(ExpressRouteCircuitPeeringState state)

Set the state property: The state of peering.

Methods inherited from java.lang.Object

Constructor Details

Ipv6ExpressRouteCircuitPeeringConfig

public Ipv6ExpressRouteCircuitPeeringConfig()

Creates an instance of Ipv6ExpressRouteCircuitPeeringConfig class.

Method Details

fromJson

public static Ipv6ExpressRouteCircuitPeeringConfig fromJson(JsonReader jsonReader)

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.

microsoftPeeringConfig

public ExpressRouteCircuitPeeringConfig microsoftPeeringConfig()

Get the microsoftPeeringConfig property: The Microsoft peering configuration.

Returns:

the microsoftPeeringConfig value.

primaryPeerAddressPrefix

public String primaryPeerAddressPrefix()

Get the primaryPeerAddressPrefix property: The primary address prefix.

Returns:

the primaryPeerAddressPrefix value.

routeFilter

public SubResource routeFilter()

Get the routeFilter property: The reference to the RouteFilter resource.

Returns:

the routeFilter value.

secondaryPeerAddressPrefix

public String secondaryPeerAddressPrefix()

Get the secondaryPeerAddressPrefix property: The secondary address prefix.

Returns:

the secondaryPeerAddressPrefix value.

state

public ExpressRouteCircuitPeeringState state()

Get the state property: The state of peering.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

withRouteFilter

public Ipv6ExpressRouteCircuitPeeringConfig withRouteFilter(SubResource routeFilter)

Set the routeFilter property: The reference to the RouteFilter resource.

Parameters:

routeFilter - the routeFilter value to set.

Returns:

the Ipv6ExpressRouteCircuitPeeringConfig object itself.

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.

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.

Applies to