WebPubSubKeysInner Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. fluent. models. WebPubSubKeysInner
- com.
Implements
public final class WebPubSubKeysInner
implements JsonSerializable<WebPubSubKeysInner>
A class represents the access keys of the resource.
Constructor Summary
| Constructor | Description |
|---|---|
| WebPubSubKeysInner() |
Creates an instance of Web |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Web |
fromJson(JsonReader jsonReader)
Reads an instance of Web |
| 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. |
|
Web |
withPrimaryConnectionString(String primaryConnectionString)
Set the primary |
|
Web |
withPrimaryKey(String primaryKey)
Set the primary |
|
Web |
withSecondaryConnectionString(String secondaryConnectionString)
Set the secondary |
|
Web |
withSecondaryKey(String secondaryKey)
Set the secondary |
Methods inherited from java.lang.Object
Constructor Details
WebPubSubKeysInner
public WebPubSubKeysInner()
Creates an instance of WebPubSubKeysInner class.
Method Details
fromJson
public static WebPubSubKeysInner fromJson(JsonReader jsonReader)
Reads an instance of WebPubSubKeysInner 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 WebPubSubKeysInner withPrimaryConnectionString(String primaryConnectionString)
Set the primaryConnectionString property: Connection string constructed via the primaryKey.
Parameters:
Returns:
withPrimaryKey
public WebPubSubKeysInner withPrimaryKey(String primaryKey)
Set the primaryKey property: The primary access key.
Parameters:
Returns:
withSecondaryConnectionString
public WebPubSubKeysInner withSecondaryConnectionString(String secondaryConnectionString)
Set the secondaryConnectionString property: Connection string constructed via the secondaryKey.
Parameters:
Returns:
withSecondaryKey
public WebPubSubKeysInner withSecondaryKey(String secondaryKey)
Set the secondaryKey property: The secondary access key.
Parameters:
Returns: