Class HybridConnectionProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.HybridConnectionProperties
-
public final class HybridConnectionProperties extends Object
HybridConnection resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description HybridConnectionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringhostname()Get the hostname property: The hostname of the endpoint.Integerport()Get the port property: The port of the endpoint.StringrelayArmUri()Get the relayArmUri property: The ARM URI to the Service Bus relay.StringrelayName()Get the relayName property: The name of the Service Bus relay.StringsendKeyName()Get the sendKeyName property: The name of the Service Bus key which has Send permissions.StringsendKeyValue()Get the sendKeyValue property: The value of the Service Bus key.StringserviceBusNamespace()Get the serviceBusNamespace property: The name of the Service Bus namespace.StringserviceBusSuffix()Get the serviceBusSuffix property: The suffix for the service bus endpoint.voidvalidate()Validates the instance.HybridConnectionPropertieswithHostname(String hostname)Set the hostname property: The hostname of the endpoint.HybridConnectionPropertieswithPort(Integer port)Set the port property: The port of the endpoint.HybridConnectionPropertieswithRelayArmUri(String relayArmUri)Set the relayArmUri property: The ARM URI to the Service Bus relay.HybridConnectionPropertieswithRelayName(String relayName)Set the relayName property: The name of the Service Bus relay.HybridConnectionPropertieswithSendKeyName(String sendKeyName)Set the sendKeyName property: The name of the Service Bus key which has Send permissions.HybridConnectionPropertieswithSendKeyValue(String sendKeyValue)Set the sendKeyValue property: The value of the Service Bus key.HybridConnectionPropertieswithServiceBusNamespace(String serviceBusNamespace)Set the serviceBusNamespace property: The name of the Service Bus namespace.HybridConnectionPropertieswithServiceBusSuffix(String serviceBusSuffix)Set the serviceBusSuffix property: The suffix for the service bus endpoint.
-
-
-
Method Detail
-
serviceBusNamespace
public String serviceBusNamespace()
Get the serviceBusNamespace property: The name of the Service Bus namespace.- Returns:
- the serviceBusNamespace value.
-
withServiceBusNamespace
public HybridConnectionProperties withServiceBusNamespace(String serviceBusNamespace)
Set the serviceBusNamespace property: The name of the Service Bus namespace.- Parameters:
serviceBusNamespace- the serviceBusNamespace value to set.- Returns:
- the HybridConnectionProperties object itself.
-
relayName
public String relayName()
Get the relayName property: The name of the Service Bus relay.- Returns:
- the relayName value.
-
withRelayName
public HybridConnectionProperties withRelayName(String relayName)
Set the relayName property: The name of the Service Bus relay.- Parameters:
relayName- the relayName value to set.- Returns:
- the HybridConnectionProperties object itself.
-
relayArmUri
public String relayArmUri()
Get the relayArmUri property: The ARM URI to the Service Bus relay.- Returns:
- the relayArmUri value.
-
withRelayArmUri
public HybridConnectionProperties withRelayArmUri(String relayArmUri)
Set the relayArmUri property: The ARM URI to the Service Bus relay.- Parameters:
relayArmUri- the relayArmUri value to set.- Returns:
- the HybridConnectionProperties object itself.
-
hostname
public String hostname()
Get the hostname property: The hostname of the endpoint.- Returns:
- the hostname value.
-
withHostname
public HybridConnectionProperties withHostname(String hostname)
Set the hostname property: The hostname of the endpoint.- Parameters:
hostname- the hostname value to set.- Returns:
- the HybridConnectionProperties object itself.
-
port
public Integer port()
Get the port property: The port of the endpoint.- Returns:
- the port value.
-
withPort
public HybridConnectionProperties withPort(Integer port)
Set the port property: The port of the endpoint.- Parameters:
port- the port value to set.- Returns:
- the HybridConnectionProperties object itself.
-
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:
- the sendKeyName value.
-
withSendKeyName
public HybridConnectionProperties 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:
sendKeyName- the sendKeyName value to set.- Returns:
- the HybridConnectionProperties object itself.
-
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:
- the sendKeyValue value.
-
withSendKeyValue
public HybridConnectionProperties 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:
sendKeyValue- the sendKeyValue value to set.- Returns:
- the HybridConnectionProperties object itself.
-
serviceBusSuffix
public String serviceBusSuffix()
Get the serviceBusSuffix property: The suffix for the service bus endpoint. By default this is .servicebus.windows.net.- Returns:
- the serviceBusSuffix value.
-
withServiceBusSuffix
public HybridConnectionProperties withServiceBusSuffix(String serviceBusSuffix)
Set the serviceBusSuffix property: The suffix for the service bus endpoint. By default this is .servicebus.windows.net.- Parameters:
serviceBusSuffix- the serviceBusSuffix value to set.- Returns:
- the HybridConnectionProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-