SignalRKeysInner Class
- java.
lang. Object - com.
azure. resourcemanager. signalr. fluent. models. SignalRKeysInner
- com.
Implements
public final class SignalRKeysInner
implements JsonSerializable<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 |
|---|---|
|
static
Signal |
fromJson(JsonReader jsonReader)
Reads an instance of Signal |
| String |
primaryConnectionString()
Get the primary |
| String |
primaryKey()
Get the primary |
| String |
secondaryConnectionString()
Get the secondary |
| String |
secondaryKey()
Get the secondary |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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
fromJson
public static SignalRKeysInner fromJson(JsonReader jsonReader)
Reads an instance of SignalRKeysInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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: