Class GetInboundRoutesParameters
java.lang.Object
com.azure.resourcemanager.network.models.GetInboundRoutesParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<GetInboundRoutesParameters>
public final class GetInboundRoutesParameters
extends Object
implements com.azure.json.JsonSerializable<GetInboundRoutesParameters>
The parameters specifying the connection resource whose inbound routes are being requested.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GetInboundRoutesParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the connectionType property: The type of the specified connection resource like ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection.static GetInboundRoutesParametersfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of GetInboundRoutesParameters from the JsonReader.Get the resourceUri property: The connection resource whose inbound routes are being requested.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withConnectionType(String connectionType) Set the connectionType property: The type of the specified connection resource like ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection.withResourceUri(String resourceUri) Set the resourceUri property: The connection resource whose inbound routes are being requested.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
GetInboundRoutesParameters
public GetInboundRoutesParameters()Creates an instance of GetInboundRoutesParameters class.
-
-
Method Details
-
resourceUri
Get the resourceUri property: The connection resource whose inbound routes are being requested.- Returns:
- the resourceUri value.
-
withResourceUri
Set the resourceUri property: The connection resource whose inbound routes are being requested.- Parameters:
resourceUri- the resourceUri value to set.- Returns:
- the GetInboundRoutesParameters object itself.
-
connectionType
Get the connectionType property: The type of the specified connection resource like ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection.- Returns:
- the connectionType value.
-
withConnectionType
Set the connectionType property: The type of the specified connection resource like ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection.- Parameters:
connectionType- the connectionType value to set.- Returns:
- the GetInboundRoutesParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<GetInboundRoutesParameters>- Throws:
IOException
-
fromJson
public static GetInboundRoutesParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of GetInboundRoutesParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of GetInboundRoutesParameters 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 GetInboundRoutesParameters.
-