public final class HybridConnectionProperties extends Object
| Constructor and Description |
|---|
HybridConnectionProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
hostname()
Get the hostname property: The hostname of the endpoint.
|
Integer |
port()
Get the port property: The port of the endpoint.
|
String |
relayArmUri()
Get the relayArmUri property: The ARM URI to the Service Bus relay.
|
String |
relayName()
Get the relayName property: The name of the Service Bus relay.
|
String |
sendKeyName()
Get the sendKeyName property: The name of the Service Bus key which has Send permissions.
|
String |
sendKeyValue()
Get the sendKeyValue property: The value of the Service Bus key.
|
String |
serviceBusNamespace()
Get the serviceBusNamespace property: The name of the Service Bus namespace.
|
String |
serviceBusSuffix()
Get the serviceBusSuffix property: The suffix for the service bus endpoint.
|
void |
validate()
Validates the instance.
|
HybridConnectionProperties |
withHostname(String hostname)
Set the hostname property: The hostname of the endpoint.
|
HybridConnectionProperties |
withPort(Integer port)
Set the port property: The port of the endpoint.
|
HybridConnectionProperties |
withRelayArmUri(String relayArmUri)
Set the relayArmUri property: The ARM URI to the Service Bus relay.
|
HybridConnectionProperties |
withRelayName(String relayName)
Set the relayName property: The name of the Service Bus relay.
|
HybridConnectionProperties |
withSendKeyName(String sendKeyName)
Set the sendKeyName property: The name of the Service Bus key which has Send permissions.
|
HybridConnectionProperties |
withSendKeyValue(String sendKeyValue)
Set the sendKeyValue property: The value of the Service Bus key.
|
HybridConnectionProperties |
withServiceBusNamespace(String serviceBusNamespace)
Set the serviceBusNamespace property: The name of the Service Bus namespace.
|
HybridConnectionProperties |
withServiceBusSuffix(String serviceBusSuffix)
Set the serviceBusSuffix property: The suffix for the service bus endpoint.
|
public String serviceBusNamespace()
public HybridConnectionProperties withServiceBusNamespace(String serviceBusNamespace)
serviceBusNamespace - the serviceBusNamespace value to set.public String relayName()
public HybridConnectionProperties withRelayName(String relayName)
relayName - the relayName value to set.public String relayArmUri()
public HybridConnectionProperties withRelayArmUri(String relayArmUri)
relayArmUri - the relayArmUri value to set.public String hostname()
public HybridConnectionProperties withHostname(String hostname)
hostname - the hostname value to set.public Integer port()
public HybridConnectionProperties withPort(Integer port)
port - the port value to set.public String sendKeyName()
public HybridConnectionProperties withSendKeyName(String sendKeyName)
sendKeyName - the sendKeyName value to set.public String sendKeyValue()
public HybridConnectionProperties withSendKeyValue(String sendKeyValue)
sendKeyValue - the sendKeyValue value to set.public String serviceBusSuffix()
public HybridConnectionProperties withServiceBusSuffix(String serviceBusSuffix)
serviceBusSuffix - the serviceBusSuffix value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.