PeeringReceivedRouteInner Class

  • java.lang.Object
    • com.azure.resourcemanager.peering.fluent.models.PeeringReceivedRouteInner

Implements

public final class PeeringReceivedRouteInner
implements JsonSerializable<PeeringReceivedRouteInner>

The properties that define a received route.

Constructor Summary

Constructor Description
PeeringReceivedRouteInner()

Creates an instance of PeeringReceivedRouteInner class.

Method Summary

Modifier and Type Method and Description
String asPath()

Get the asPath property: The AS path for the prefix.

static PeeringReceivedRouteInner fromJson(JsonReader jsonReader)

Reads an instance of PeeringReceivedRouteInner from the JsonReader.

String nextHop()

Get the nextHop property: The next hop for the prefix.

String originAsValidationState()

Get the originAsValidationState property: The origin AS change information for the prefix.

String prefix()

Get the prefix property: The prefix.

String receivedTimestamp()

Get the receivedTimestamp property: The received timestamp associated with the prefix.

String rpkiValidationState()

Get the rpkiValidationState property: The RPKI validation state for the prefix and origin AS that's listed in the AS path.

JsonWriter toJson(JsonWriter jsonWriter)
String trustAnchor()

Get the trustAnchor property: The authority which holds the Route Origin Authorization record for the prefix, if any.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

PeeringReceivedRouteInner

public PeeringReceivedRouteInner()

Creates an instance of PeeringReceivedRouteInner class.

Method Details

asPath

public String asPath()

Get the asPath property: The AS path for the prefix.

Returns:

the asPath value.

fromJson

public static PeeringReceivedRouteInner fromJson(JsonReader jsonReader)

Reads an instance of PeeringReceivedRouteInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PeeringReceivedRouteInner 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 PeeringReceivedRouteInner.

nextHop

public String nextHop()

Get the nextHop property: The next hop for the prefix.

Returns:

the nextHop value.

originAsValidationState

public String originAsValidationState()

Get the originAsValidationState property: The origin AS change information for the prefix.

Returns:

the originAsValidationState value.

prefix

public String prefix()

Get the prefix property: The prefix.

Returns:

the prefix value.

receivedTimestamp

public String receivedTimestamp()

Get the receivedTimestamp property: The received timestamp associated with the prefix.

Returns:

the receivedTimestamp value.

rpkiValidationState

public String rpkiValidationState()

Get the rpkiValidationState property: The RPKI validation state for the prefix and origin AS that's listed in the AS path.

Returns:

the rpkiValidationState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trustAnchor

public String trustAnchor()

Get the trustAnchor property: The authority which holds the Route Origin Authorization record for the prefix, if any.

Returns:

the trustAnchor value.

validate

public void validate()

Validates the instance.

Applies to