Class UpdateNetworkSiblingSetRequest

java.lang.Object
com.azure.resourcemanager.netapp.models.UpdateNetworkSiblingSetRequest
All Implemented Interfaces:
com.azure.json.JsonSerializable<UpdateNetworkSiblingSetRequest>

public final class UpdateNetworkSiblingSetRequest extends Object implements com.azure.json.JsonSerializable<UpdateNetworkSiblingSetRequest>
UpdateNetworkSiblingSetRequest Network sibling set update.
  • Constructor Details

    • UpdateNetworkSiblingSetRequest

      public UpdateNetworkSiblingSetRequest()
      Creates an instance of UpdateNetworkSiblingSetRequest class.
  • Method Details

    • networkSiblingSetId

      public String 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

      public UpdateNetworkSiblingSetRequest withNetworkSiblingSetId(String networkSiblingSetId)
      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 UpdateNetworkSiblingSetRequest object itself.
    • subnetId

      public String 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

      public UpdateNetworkSiblingSetRequest withSubnetId(String subnetId)
      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 UpdateNetworkSiblingSetRequest object itself.
    • networkSiblingSetStateId

      public String networkSiblingSetStateId()
      Get the networkSiblingSetStateId property: Network sibling set state Id identifying the current state of the sibling set.
      Returns:
      the networkSiblingSetStateId value.
    • withNetworkSiblingSetStateId

      public UpdateNetworkSiblingSetRequest withNetworkSiblingSetStateId(String networkSiblingSetStateId)
      Set the networkSiblingSetStateId property: Network sibling set state Id identifying the current state of the sibling set.
      Parameters:
      networkSiblingSetStateId - the networkSiblingSetStateId value to set.
      Returns:
      the UpdateNetworkSiblingSetRequest object itself.
    • networkFeatures

      public NetworkFeatures networkFeatures()
      Get the networkFeatures property: Network features available to the volume.
      Returns:
      the networkFeatures value.
    • withNetworkFeatures

      public UpdateNetworkSiblingSetRequest withNetworkFeatures(NetworkFeatures networkFeatures)
      Set the networkFeatures property: Network features available to the volume.
      Parameters:
      networkFeatures - the networkFeatures value to set.
      Returns:
      the UpdateNetworkSiblingSetRequest object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<UpdateNetworkSiblingSetRequest>
      Throws:
      IOException
    • fromJson

      public static UpdateNetworkSiblingSetRequest fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of UpdateNetworkSiblingSetRequest from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of UpdateNetworkSiblingSetRequest 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 UpdateNetworkSiblingSetRequest.