Class NetworkInterfaceConfiguration
java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.NetworkInterfaceConfiguration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkInterfaceConfiguration>
public final class NetworkInterfaceConfiguration
extends Object
implements com.azure.json.JsonSerializable<NetworkInterfaceConfiguration>
Informatica Serverless Runtime Network Interface configurations.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkInterfaceConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkInterfaceConfiguration 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
-
NetworkInterfaceConfiguration
public NetworkInterfaceConfiguration()Creates an instance of NetworkInterfaceConfiguration 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 NetworkInterfaceConfiguration 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 NetworkInterfaceConfiguration 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 NetworkInterfaceConfiguration 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<NetworkInterfaceConfiguration>- Throws:
IOException
-
fromJson
public static NetworkInterfaceConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetworkInterfaceConfiguration from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NetworkInterfaceConfiguration 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 NetworkInterfaceConfiguration.
-