Class QueryNetworkSiblingSetRequest
java.lang.Object
com.azure.resourcemanager.netapp.models.QueryNetworkSiblingSetRequest
- All Implemented Interfaces:
com.azure.json.JsonSerializable<QueryNetworkSiblingSetRequest>
public final class QueryNetworkSiblingSetRequest
extends Object
implements com.azure.json.JsonSerializable<QueryNetworkSiblingSetRequest>
QueryNetworkSiblingSetRequest
Network sibling set query.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of QueryNetworkSiblingSetRequest class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of QueryNetworkSiblingSetRequest from the JsonReader.Get the networkSiblingSetId property: Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.subnetId()
Get the subnetId property: The Azure Resource URI for a delegated subnet.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withNetworkSiblingSetId
(String networkSiblingSetId) Set the networkSiblingSetId property: Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.withSubnetId
(String subnetId) Set the subnetId property: The Azure Resource URI for a delegated subnet.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
-
QueryNetworkSiblingSetRequest
public QueryNetworkSiblingSetRequest()Creates an instance of QueryNetworkSiblingSetRequest class.
-
-
Method Details
-
networkSiblingSetId
Get the networkSiblingSetId property: Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.- Returns:
- the networkSiblingSetId value.
-
withNetworkSiblingSetId
Set the networkSiblingSetId property: Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.- Parameters:
networkSiblingSetId
- the networkSiblingSetId value to set.- Returns:
- the QueryNetworkSiblingSetRequest object itself.
-
subnetId
Get the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}.- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the QueryNetworkSiblingSetRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<QueryNetworkSiblingSetRequest>
- Throws:
IOException
-
fromJson
public static QueryNetworkSiblingSetRequest fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of QueryNetworkSiblingSetRequest from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of QueryNetworkSiblingSetRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the QueryNetworkSiblingSetRequest.
-