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 Summary
ConstructorsConstructorDescriptionCreates an instance of RelayServiceConnectionEntityProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the biztalkUri property: The biztalkUri property.Get the entityConnectionString property: The entityConnectionString property.Get the entityName property: The entityName property.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of RelayServiceConnectionEntityProperties from the JsonReader.hostname()
Get the hostname property: The hostname property.port()
Get the port property: The port property.Get the resourceConnectionString property: The resourceConnectionString property.Get the resourceType property: The resourceType property.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withBiztalkUri
(String biztalkUri) Set the biztalkUri property: The biztalkUri property.withEntityConnectionString
(String entityConnectionString) Set the entityConnectionString property: The entityConnectionString property.withEntityName
(String entityName) Set the entityName property: The entityName property.withHostname
(String hostname) Set the hostname property: The hostname property.Set the port property: The port property.withResourceConnectionString
(String resourceConnectionString) Set the resourceConnectionString property: The resourceConnectionString property.withResourceType
(String resourceType) Set the resourceType property: The resourceType property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RelayServiceConnectionEntityProperties
public RelayServiceConnectionEntityProperties()Creates an instance of RelayServiceConnectionEntityProperties class.
-
-
Method Details
-
entityName
Get the entityName property: The entityName property.- Returns:
- the entityName value.
-
withEntityName
Set the entityName property: The entityName property.- Parameters:
entityName
- the entityName value to set.- Returns:
- the RelayServiceConnectionEntityProperties object itself.
-
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
Get the resourceType property: The resourceType property.- Returns:
- the resourceType value.
-
withResourceType
Set the resourceType property: The resourceType property.- Parameters:
resourceType
- the resourceType value to set.- Returns:
- the RelayServiceConnectionEntityProperties object itself.
-
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
Get the hostname property: The hostname property.- Returns:
- the hostname value.
-
withHostname
Set the hostname property: The hostname property.- Parameters:
hostname
- the hostname value to set.- Returns:
- the RelayServiceConnectionEntityProperties object itself.
-
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
Get the biztalkUri property: The biztalkUri property.- Returns:
- the biztalkUri value.
-
withBiztalkUri
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
- Specified by:
toJson
in interfacecom.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.
-