SignalRKeysInner Class
- java.
lang. Object - com.
azure. resourcemanager. signalr. fluent. models. SignalRKeysInner
- com.
public final class SignalRKeysInner
A class represents the access keys of the resource.
Constructor Summary
Constructor | Description |
---|---|
SignalRKeysInner() |
Creates an instance of Signal |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
primaryConnectionString()
Get the primary |
String |
primaryKey()
Get the primary |
String |
secondaryConnectionString()
Get the secondary |
String |
secondaryKey()
Get the secondary |
void |
validate()
Validates the instance. |
Signal |
withPrimaryConnectionString(String primaryConnectionString)
Set the primary |
Signal |
withPrimaryKey(String primaryKey)
Set the primary |
Signal |
withSecondaryConnectionString(String secondaryConnectionString)
Set the secondary |
Signal |
withSecondaryKey(String secondaryKey)
Set the secondary |
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:
primaryKey
public String primaryKey()
Get the primaryKey property: The primary access key.
Returns:
secondaryConnectionString
public String secondaryConnectionString()
Get the secondaryConnectionString property: Connection string constructed via the secondaryKey.
Returns:
secondaryKey
public String secondaryKey()
Get the secondaryKey property: The secondary access key.
Returns:
validate
public void validate()
Validates the instance.
withPrimaryConnectionString
public SignalRKeysInner withPrimaryConnectionString(String primaryConnectionString)
Set the primaryConnectionString property: Connection string constructed via the primaryKey.
Parameters:
Returns:
withPrimaryKey
public SignalRKeysInner withPrimaryKey(String primaryKey)
Set the primaryKey property: The primary access key.
Parameters:
Returns:
withSecondaryConnectionString
public SignalRKeysInner withSecondaryConnectionString(String secondaryConnectionString)
Set the secondaryConnectionString property: Connection string constructed via the secondaryKey.
Parameters:
Returns:
withSecondaryKey
public SignalRKeysInner withSecondaryKey(String secondaryKey)
Set the secondaryKey property: The secondary access key.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for