HybridConnectionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. HybridConnectionInner
- com.
- com.
- com.
public final class HybridConnectionInner
extends ProxyOnlyResource
Hybrid Connection contract. This is used to configure a Hybrid Connection.
Constructor Summary
Constructor | Description |
---|---|
HybridConnectionInner() |
Creates an instance of Hybrid |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Hybrid |
fromJson(JsonReader jsonReader)
Reads an instance of Hybrid |
String |
hostname()
Get the hostname property: The hostname of the endpoint. |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Integer |
port()
Get the port property: The port of the endpoint. |
String |
relayArmUri()
Get the relay |
String |
relayName()
Get the relay |
String |
sendKeyName()
Get the send |
String |
sendKeyValue()
Get the send |
String |
serviceBusNamespace()
Get the service |
String |
serviceBusSuffix()
Get the service |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Hybrid |
withHostname(String hostname)
Set the hostname property: The hostname of the endpoint. |
Hybrid |
withKind(String kind)
Set the kind property: Kind of resource. |
Hybrid |
withPort(Integer port)
Set the port property: The port of the endpoint. |
Hybrid |
withRelayArmUri(String relayArmUri)
Set the relay |
Hybrid |
withRelayName(String relayName)
Set the relay |
Hybrid |
withSendKeyName(String sendKeyName)
Set the send |
Hybrid |
withSendKeyValue(String sendKeyValue)
Set the send |
Hybrid |
withServiceBusNamespace(String serviceBusNamespace)
Set the service |
Hybrid |
withServiceBusSuffix(String serviceBusSuffix)
Set the service |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
HybridConnectionInner
public HybridConnectionInner()
Creates an instance of HybridConnectionInner class.
Method Details
fromJson
public static HybridConnectionInner fromJson(JsonReader jsonReader)
Reads an instance of HybridConnectionInner from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: The hostname of the endpoint.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
HybridConnectionInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
HybridConnectionInner.name()Returns:
port
public Integer port()
Get the port property: The port of the endpoint.
Returns:
relayArmUri
public String relayArmUri()
Get the relayArmUri property: The ARM URI to the Service Bus relay.
Returns:
relayName
public String relayName()
Get the relayName property: The name of the Service Bus relay.
Returns:
sendKeyName
public String sendKeyName()
Get the sendKeyName property: The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.
Returns:
sendKeyValue
public String sendKeyValue()
Get the sendKeyValue property: The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned normally, use the POST /listKeys API instead.
Returns:
serviceBusNamespace
public String serviceBusNamespace()
Get the serviceBusNamespace property: The name of the Service Bus namespace.
Returns:
serviceBusSuffix
public String serviceBusSuffix()
Get the serviceBusSuffix property: The suffix for the service bus endpoint. By default this is .servicebus.windows.net.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
HybridConnectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
HybridConnectionInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
HybridConnectionInner.validate()withHostname
public HybridConnectionInner withHostname(String hostname)
Set the hostname property: The hostname of the endpoint.
Parameters:
Returns:
withKind
public HybridConnectionInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
HybridConnectionInner.withKind(String kind)Parameters:
withPort
public HybridConnectionInner withPort(Integer port)
Set the port property: The port of the endpoint.
Parameters:
Returns:
withRelayArmUri
public HybridConnectionInner withRelayArmUri(String relayArmUri)
Set the relayArmUri property: The ARM URI to the Service Bus relay.
Parameters:
Returns:
withRelayName
public HybridConnectionInner withRelayName(String relayName)
Set the relayName property: The name of the Service Bus relay.
Parameters:
Returns:
withSendKeyName
public HybridConnectionInner withSendKeyName(String sendKeyName)
Set the sendKeyName property: The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.
Parameters:
Returns:
withSendKeyValue
public HybridConnectionInner withSendKeyValue(String sendKeyValue)
Set the sendKeyValue property: The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned normally, use the POST /listKeys API instead.
Parameters:
Returns:
withServiceBusNamespace
public HybridConnectionInner withServiceBusNamespace(String serviceBusNamespace)
Set the serviceBusNamespace property: The name of the Service Bus namespace.
Parameters:
Returns:
withServiceBusSuffix
public HybridConnectionInner withServiceBusSuffix(String serviceBusSuffix)
Set the serviceBusSuffix property: The suffix for the service bus endpoint. By default this is .servicebus.windows.net.
Parameters:
Returns:
Applies to
Azure SDK for Java