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 Details

    • NetworkInterfaceConfiguration

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

    • vnetId

      public String vnetId()
      Get the vnetId property: Virtual network resource id.
      Returns:
      the vnetId value.
    • withVnetId

      public NetworkInterfaceConfiguration withVnetId(String vnetId)
      Set the vnetId property: Virtual network resource id.
      Parameters:
      vnetId - the vnetId value to set.
      Returns:
      the NetworkInterfaceConfiguration object itself.
    • subnetId

      public String subnetId()
      Get the subnetId property: Virtual network subnet resource id.
      Returns:
      the subnetId value.
    • withSubnetId

      public NetworkInterfaceConfiguration withSubnetId(String subnetId)
      Set the subnetId property: Virtual network subnet resource id.
      Parameters:
      subnetId - the subnetId value to set.
      Returns:
      the NetworkInterfaceConfiguration object itself.
    • vnetResourceGuid

      public String vnetResourceGuid()
      Get the vnetResourceGuid property: Virtual network resource guid.
      Returns:
      the vnetResourceGuid value.
    • withVnetResourceGuid

      public NetworkInterfaceConfiguration withVnetResourceGuid(String vnetResourceGuid)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.