PeerAsnListResult Class
- java.
lang. Object - com.
azure. resourcemanager. peering. models. PeerAsnListResult
- com.
Implements
public final class PeerAsnListResult
implements JsonSerializable<PeerAsnListResult>
The paginated list of peer ASNs.
Constructor Summary
| Constructor | Description |
|---|---|
| PeerAsnListResult() |
Creates an instance of Peer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Peer |
fromJson(JsonReader jsonReader)
Reads an instance of Peer |
| String |
nextLink()
Get the next |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
List<Peer |
value()
Get the value property: The list of peer ASNs. |
|
Peer |
withNextLink(String nextLink)
Set the next |
|
Peer |
withValue(List<PeerAsnInner> value)
Set the value property: The list of peer ASNs. |
Methods inherited from java.lang.Object
Constructor Details
PeerAsnListResult
public PeerAsnListResult()
Creates an instance of PeerAsnListResult class.
Method Details
fromJson
public static PeerAsnListResult fromJson(JsonReader jsonReader)
Reads an instance of PeerAsnListResult from the JsonReader.
Parameters:
Returns:
Throws:
nextLink
public String nextLink()
Get the nextLink property: The link to fetch the next page of peer ASNs.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public List<PeerAsnInner> value()
Get the value property: The list of peer ASNs.
Returns:
withNextLink
public PeerAsnListResult withNextLink(String nextLink)
Set the nextLink property: The link to fetch the next page of peer ASNs.
Parameters:
Returns:
withValue
public PeerAsnListResult withValue(List<PeerAsnInner> value)
Set the value property: The list of peer ASNs.
Parameters:
Returns: