Class SessionNetworkConfiguration

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

public final class SessionNetworkConfiguration extends Object implements com.azure.json.JsonSerializable<SessionNetworkConfiguration>
Session network configuration.
  • Constructor Details

    • SessionNetworkConfiguration

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

    • status

      public SessionNetworkStatus status()
      Get the status property: Network status for the sessions.
      Returns:
      the status value.
    • withStatus

      Set the status property: Network status for the sessions.
      Parameters:
      status - the status value to set.
      Returns:
      the SessionNetworkConfiguration 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<SessionNetworkConfiguration>
      Throws:
      IOException
    • fromJson

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