HybridConnectionInner Class

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 HybridConnectionInner class.

Method Summary

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.

HybridConnectionInner withHostname(String hostname)

Set the hostname property: The hostname of the endpoint.

HybridConnectionInner withKind(String kind)

Set the kind property: Kind of resource.

HybridConnectionInner withPort(Integer port)

Set the port property: The port of the endpoint.

HybridConnectionInner withRelayArmUri(String relayArmUri)

Set the relayArmUri property: The ARM URI to the Service Bus relay.

HybridConnectionInner withRelayName(String relayName)

Set the relayName property: The name of the Service Bus relay.

HybridConnectionInner withSendKeyName(String sendKeyName)

Set the sendKeyName property: The name of the Service Bus key which has Send permissions.

HybridConnectionInner withSendKeyValue(String sendKeyValue)

Set the sendKeyValue property: The value of the Service Bus key.

HybridConnectionInner withServiceBusNamespace(String serviceBusNamespace)

Set the serviceBusNamespace property: The name of the Service Bus namespace.

HybridConnectionInner withServiceBusSuffix(String serviceBusSuffix)

Set the serviceBusSuffix property: The suffix for the service bus endpoint.

Methods inherited from ProxyResource

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

HybridConnectionInner

public HybridConnectionInner()

Creates an instance of HybridConnectionInner class.

Method Details

hostname

public String hostname()

Get the hostname property: The hostname of the endpoint.

Returns:

the hostname value.

port

public Integer port()

Get the port property: The port of the endpoint.

Returns:

the port value.

relayArmUri

public String relayArmUri()

Get the relayArmUri property: The ARM URI to the Service Bus relay.

Returns:

the relayArmUri value.

relayName

public String relayName()

Get the relayName property: The name of the Service Bus relay.

Returns:

the relayName value.

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.

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.

serviceBusNamespace

public String serviceBusNamespace()

Get the serviceBusNamespace property: The name of the Service Bus namespace.

Returns:

the serviceBusNamespace value.

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.

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:

hostname - the hostname value to set.

Returns:

the HybridConnectionInner object itself.

withKind

public HybridConnectionInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

HybridConnectionInner.withKind(String kind)

Parameters:

kind

withPort

public HybridConnectionInner withPort(Integer port)

Set the port property: The port of the endpoint.

Parameters:

port - the port value to set.

Returns:

the HybridConnectionInner object itself.

withRelayArmUri

public HybridConnectionInner withRelayArmUri(String relayArmUri)

Set the relayArmUri property: The ARM URI to the Service Bus relay.

Parameters:

relayArmUri - the relayArmUri value to set.

Returns:

the HybridConnectionInner object itself.

withRelayName

public HybridConnectionInner withRelayName(String relayName)

Set the relayName property: The name of the Service Bus relay.

Parameters:

relayName - the relayName value to set.

Returns:

the HybridConnectionInner object itself.

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:

sendKeyName - the sendKeyName value to set.

Returns:

the HybridConnectionInner object itself.

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:

sendKeyValue - the sendKeyValue value to set.

Returns:

the HybridConnectionInner object itself.

withServiceBusNamespace

public HybridConnectionInner withServiceBusNamespace(String serviceBusNamespace)

Set the serviceBusNamespace property: The name of the Service Bus namespace.

Parameters:

serviceBusNamespace - the serviceBusNamespace value to set.

Returns:

the HybridConnectionInner object itself.

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:

serviceBusSuffix - the serviceBusSuffix value to set.

Returns:

the HybridConnectionInner object itself.

Applies to