SignalRKeysInner Class

  • java.lang.Object
    • com.azure.resourcemanager.signalr.fluent.models.SignalRKeysInner

public final class SignalRKeysInner

A class represents the access keys of the resource.

Constructor Summary

Constructor Description
SignalRKeysInner()

Creates an instance of SignalRKeysInner class.

Method Summary

Modifier and Type Method and Description
String primaryConnectionString()

Get the primaryConnectionString property: Connection string constructed via the primaryKey.

String primaryKey()

Get the primaryKey property: The primary access key.

String secondaryConnectionString()

Get the secondaryConnectionString property: Connection string constructed via the secondaryKey.

String secondaryKey()

Get the secondaryKey property: The secondary access key.

void validate()

Validates the instance.

SignalRKeysInner withPrimaryConnectionString(String primaryConnectionString)

Set the primaryConnectionString property: Connection string constructed via the primaryKey.

SignalRKeysInner withPrimaryKey(String primaryKey)

Set the primaryKey property: The primary access key.

SignalRKeysInner withSecondaryConnectionString(String secondaryConnectionString)

Set the secondaryConnectionString property: Connection string constructed via the secondaryKey.

SignalRKeysInner withSecondaryKey(String secondaryKey)

Set the secondaryKey property: The secondary access key.

Methods inherited from java.lang.Object

Constructor Details

SignalRKeysInner

public SignalRKeysInner()

Creates an instance of SignalRKeysInner class.

Method Details

primaryConnectionString

public String primaryConnectionString()

Get the primaryConnectionString property: Connection string constructed via the primaryKey.

Returns:

the primaryConnectionString value.

primaryKey

public String primaryKey()

Get the primaryKey property: The primary access key.

Returns:

the primaryKey value.

secondaryConnectionString

public String secondaryConnectionString()

Get the secondaryConnectionString property: Connection string constructed via the secondaryKey.

Returns:

the secondaryConnectionString value.

secondaryKey

public String secondaryKey()

Get the secondaryKey property: The secondary access key.

Returns:

the secondaryKey value.

validate

public void validate()

Validates the instance.

withPrimaryConnectionString

public SignalRKeysInner withPrimaryConnectionString(String primaryConnectionString)

Set the primaryConnectionString property: Connection string constructed via the primaryKey.

Parameters:

primaryConnectionString - the primaryConnectionString value to set.

Returns:

the SignalRKeysInner object itself.

withPrimaryKey

public SignalRKeysInner withPrimaryKey(String primaryKey)

Set the primaryKey property: The primary access key.

Parameters:

primaryKey - the primaryKey value to set.

Returns:

the SignalRKeysInner object itself.

withSecondaryConnectionString

public SignalRKeysInner withSecondaryConnectionString(String secondaryConnectionString)

Set the secondaryConnectionString property: Connection string constructed via the secondaryKey.

Parameters:

secondaryConnectionString - the secondaryConnectionString value to set.

Returns:

the SignalRKeysInner object itself.

withSecondaryKey

public SignalRKeysInner withSecondaryKey(String secondaryKey)

Set the secondaryKey property: The secondary access key.

Parameters:

secondaryKey - the secondaryKey value to set.

Returns:

the SignalRKeysInner object itself.

Applies to