Class SshConnectivityEndpoint

java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.SshConnectivityEndpoint
All Implemented Interfaces:
com.azure.json.JsonSerializable<SshConnectivityEndpoint>

public final class SshConnectivityEndpoint extends Object implements com.azure.json.JsonSerializable<SshConnectivityEndpoint>
SSH connectivity endpoint details.
  • Constructor Details

    • SshConnectivityEndpoint

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

    • endpoint

      public String endpoint()
      Get the endpoint property: SSH connectivity endpoint.
      Returns:
      the endpoint value.
    • withEndpoint

      public SshConnectivityEndpoint withEndpoint(String endpoint)
      Set the endpoint property: SSH connectivity endpoint.
      Parameters:
      endpoint - the endpoint value to set.
      Returns:
      the SshConnectivityEndpoint object itself.
    • privateSshEndpoint

      public String privateSshEndpoint()
      Get the privateSshEndpoint property: Private SSH connectivity endpoint. This property will only be returned when enableInternalIngress is true.
      Returns:
      the privateSshEndpoint value.
    • withPrivateSshEndpoint

      public SshConnectivityEndpoint withPrivateSshEndpoint(String privateSshEndpoint)
      Set the privateSshEndpoint property: Private SSH connectivity endpoint. This property will only be returned when enableInternalIngress is true.
      Parameters:
      privateSshEndpoint - the privateSshEndpoint value to set.
      Returns:
      the SshConnectivityEndpoint 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<SshConnectivityEndpoint>
      Throws:
      IOException
    • fromJson

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