Class RelayServiceConnectionEntityProperties

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

public final class RelayServiceConnectionEntityProperties extends Object implements com.azure.json.JsonSerializable<RelayServiceConnectionEntityProperties>
RelayServiceConnectionEntity resource specific properties.
  • Constructor Details

    • RelayServiceConnectionEntityProperties

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

    • entityName

      public String entityName()
      Get the entityName property: The entityName property.
      Returns:
      the entityName value.
    • withEntityName

      public RelayServiceConnectionEntityProperties withEntityName(String entityName)
      Set the entityName property: The entityName property.
      Parameters:
      entityName - the entityName value to set.
      Returns:
      the RelayServiceConnectionEntityProperties object itself.
    • entityConnectionString

      public String entityConnectionString()
      Get the entityConnectionString property: The entityConnectionString property.
      Returns:
      the entityConnectionString value.
    • withEntityConnectionString

      public RelayServiceConnectionEntityProperties withEntityConnectionString(String entityConnectionString)
      Set the entityConnectionString property: The entityConnectionString property.
      Parameters:
      entityConnectionString - the entityConnectionString value to set.
      Returns:
      the RelayServiceConnectionEntityProperties object itself.
    • resourceType

      public String resourceType()
      Get the resourceType property: The resourceType property.
      Returns:
      the resourceType value.
    • withResourceType

      public RelayServiceConnectionEntityProperties withResourceType(String resourceType)
      Set the resourceType property: The resourceType property.
      Parameters:
      resourceType - the resourceType value to set.
      Returns:
      the RelayServiceConnectionEntityProperties object itself.
    • resourceConnectionString

      public String resourceConnectionString()
      Get the resourceConnectionString property: The resourceConnectionString property.
      Returns:
      the resourceConnectionString value.
    • withResourceConnectionString

      public RelayServiceConnectionEntityProperties withResourceConnectionString(String resourceConnectionString)
      Set the resourceConnectionString property: The resourceConnectionString property.
      Parameters:
      resourceConnectionString - the resourceConnectionString value to set.
      Returns:
      the RelayServiceConnectionEntityProperties object itself.
    • hostname

      public String hostname()
      Get the hostname property: The hostname property.
      Returns:
      the hostname value.
    • withHostname

      public RelayServiceConnectionEntityProperties withHostname(String hostname)
      Set the hostname property: The hostname property.
      Parameters:
      hostname - the hostname value to set.
      Returns:
      the RelayServiceConnectionEntityProperties object itself.
    • port

      public Integer port()
      Get the port property: The port property.
      Returns:
      the port value.
    • withPort

      Set the port property: The port property.
      Parameters:
      port - the port value to set.
      Returns:
      the RelayServiceConnectionEntityProperties object itself.
    • biztalkUri

      public String biztalkUri()
      Get the biztalkUri property: The biztalkUri property.
      Returns:
      the biztalkUri value.
    • withBiztalkUri

      public RelayServiceConnectionEntityProperties withBiztalkUri(String biztalkUri)
      Set the biztalkUri property: The biztalkUri property.
      Parameters:
      biztalkUri - the biztalkUri value to set.
      Returns:
      the RelayServiceConnectionEntityProperties 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<RelayServiceConnectionEntityProperties>
      Throws:
      IOException
    • fromJson

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