java.lang.Object
com.azure.resourcemanager.signalr.fluent.models.SignalRKeysInner
public final class SignalRKeysInner
extends Object
A class represents the access keys of the resource.
-
Constructor Summary
Constructors
Creates an instance of SignalRKeysInner class.
-
Method Summary
Get the primaryConnectionString property: Connection string constructed via the primaryKey.
Get the primaryKey property: The primary access key.
Get the secondaryConnectionString property: Connection string constructed via the secondaryKey.
Get the secondaryKey property: The secondary access key.
void
Set the primaryConnectionString property: Connection string constructed via the primaryKey.
Set the primaryKey property: The primary access key.
Set the secondaryConnectionString property: Connection string constructed via the secondaryKey.
Set the secondaryKey property: The secondary access key.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SignalRKeysInner
public SignalRKeysInner()
Creates an instance of SignalRKeysInner class.
-
Method Details
-
primaryKey
Get the primaryKey property: The primary access key.
- Returns:
- the primaryKey value.
-
withPrimaryKey
Set the primaryKey property: The primary access key.
- Parameters:
primaryKey
- the primaryKey value to set.
- Returns:
- the SignalRKeysInner object itself.
-
secondaryKey
Get the secondaryKey property: The secondary access key.
- Returns:
- the secondaryKey value.
-
withSecondaryKey
Set the secondaryKey property: The secondary access key.
- Parameters:
secondaryKey
- the secondaryKey value to set.
- Returns:
- the SignalRKeysInner object itself.
-
primaryConnectionString
public String primaryConnectionString()
Get the primaryConnectionString property: Connection string constructed via the primaryKey.
- Returns:
- the primaryConnectionString value.
-
withPrimaryConnectionString
Set the primaryConnectionString property: Connection string constructed via the primaryKey.
- Parameters:
primaryConnectionString
- the primaryConnectionString value to set.
- Returns:
- the SignalRKeysInner object itself.
-
secondaryConnectionString
public String secondaryConnectionString()
Get the secondaryConnectionString property: Connection string constructed via the secondaryKey.
- Returns:
- the secondaryConnectionString value.
-
withSecondaryConnectionString
Set the secondaryConnectionString property: Connection string constructed via the secondaryKey.
- Parameters:
secondaryConnectionString
- the secondaryConnectionString value to set.
- Returns:
- the SignalRKeysInner object itself.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.