Class NetworkManagerConnectionProperties

java.lang.Object
com.azure.resourcemanager.network.fluent.models.NetworkManagerConnectionProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkManagerConnectionProperties>

public final class NetworkManagerConnectionProperties extends Object implements com.azure.json.JsonSerializable<NetworkManagerConnectionProperties>
Information about the network manager connection.
  • Constructor Details

    • NetworkManagerConnectionProperties

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

    • networkManagerId

      public String networkManagerId()
      Get the networkManagerId property: Network Manager Id.
      Returns:
      the networkManagerId value.
    • withNetworkManagerId

      public NetworkManagerConnectionProperties withNetworkManagerId(String networkManagerId)
      Set the networkManagerId property: Network Manager Id.
      Parameters:
      networkManagerId - the networkManagerId value to set.
      Returns:
      the NetworkManagerConnectionProperties object itself.
    • connectionState

      public ScopeConnectionState connectionState()
      Get the connectionState property: Connection state.
      Returns:
      the connectionState value.
    • description

      public String description()
      Get the description property: A description of the network manager connection.
      Returns:
      the description value.
    • withDescription

      public NetworkManagerConnectionProperties withDescription(String description)
      Set the description property: A description of the network manager connection.
      Parameters:
      description - the description value to set.
      Returns:
      the NetworkManagerConnectionProperties 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<NetworkManagerConnectionProperties>
      Throws:
      IOException
    • fromJson

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