Class NetworkInterfaceConfigurationUpdate
java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.NetworkInterfaceConfigurationUpdate
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkInterfaceConfigurationUpdate>
public final class NetworkInterfaceConfigurationUpdate
extends Object
implements com.azure.json.JsonSerializable<NetworkInterfaceConfigurationUpdate>
The template for adding optional properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkInterfaceConfigurationUpdate class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkInterfaceConfigurationUpdate from the JsonReader.subnetId()Get the subnetId property: Virtual network subnet resource id.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.vnetId()Get the vnetId property: Virtual network resource id.Get the vnetResourceGuid property: Virtual network resource guid.withSubnetId(String subnetId) Set the subnetId property: Virtual network subnet resource id.withVnetId(String vnetId) Set the vnetId property: Virtual network resource id.withVnetResourceGuid(String vnetResourceGuid) Set the vnetResourceGuid property: Virtual network resource guid.
-
Constructor Details
-
NetworkInterfaceConfigurationUpdate
public NetworkInterfaceConfigurationUpdate()Creates an instance of NetworkInterfaceConfigurationUpdate class.
-
-
Method Details
-
vnetId
Get the vnetId property: Virtual network resource id.- Returns:
- the vnetId value.
-
withVnetId
Set the vnetId property: Virtual network resource id.- Parameters:
vnetId- the vnetId value to set.- Returns:
- the NetworkInterfaceConfigurationUpdate object itself.
-
subnetId
Get the subnetId property: Virtual network subnet resource id.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: Virtual network subnet resource id.- Parameters:
subnetId- the subnetId value to set.- Returns:
- the NetworkInterfaceConfigurationUpdate object itself.
-
vnetResourceGuid
Get the vnetResourceGuid property: Virtual network resource guid.- Returns:
- the vnetResourceGuid value.
-
withVnetResourceGuid
Set the vnetResourceGuid property: Virtual network resource guid.- Parameters:
vnetResourceGuid- the vnetResourceGuid value to set.- Returns:
- the NetworkInterfaceConfigurationUpdate 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<NetworkInterfaceConfigurationUpdate>- Throws:
IOException
-
fromJson
public static NetworkInterfaceConfigurationUpdate fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetworkInterfaceConfigurationUpdate from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NetworkInterfaceConfigurationUpdate 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 NetworkInterfaceConfigurationUpdate.
-