Class ServerlessRuntimeNetworkProfile
java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.ServerlessRuntimeNetworkProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ServerlessRuntimeNetworkProfile>
public final class ServerlessRuntimeNetworkProfile
extends Object
implements com.azure.json.JsonSerializable<ServerlessRuntimeNetworkProfile>
Informatica Serverless Runtime Network Profile.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServerlessRuntimeNetworkProfile class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ServerlessRuntimeNetworkProfile from the JsonReader.Get the networkInterfaceConfiguration property: Network Interface Configuration Profile.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withNetworkInterfaceConfiguration(NetworkInterfaceConfiguration networkInterfaceConfiguration) Set the networkInterfaceConfiguration property: Network Interface Configuration Profile.
-
Constructor Details
-
ServerlessRuntimeNetworkProfile
public ServerlessRuntimeNetworkProfile()Creates an instance of ServerlessRuntimeNetworkProfile class.
-
-
Method Details
-
networkInterfaceConfiguration
Get the networkInterfaceConfiguration property: Network Interface Configuration Profile.- Returns:
- the networkInterfaceConfiguration value.
-
withNetworkInterfaceConfiguration
public ServerlessRuntimeNetworkProfile withNetworkInterfaceConfiguration(NetworkInterfaceConfiguration networkInterfaceConfiguration) Set the networkInterfaceConfiguration property: Network Interface Configuration Profile.- Parameters:
networkInterfaceConfiguration- the networkInterfaceConfiguration value to set.- Returns:
- the ServerlessRuntimeNetworkProfile 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<ServerlessRuntimeNetworkProfile>- Throws:
IOException
-
fromJson
public static ServerlessRuntimeNetworkProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ServerlessRuntimeNetworkProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ServerlessRuntimeNetworkProfile 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 ServerlessRuntimeNetworkProfile.
-