public final class ResourceListKeysInner extends Object
| Constructor and Description |
|---|
ResourceListKeysInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
keyName()
Get the keyName property: A string that describes the authorization rule.
|
String |
primaryConnectionString()
Get the primaryConnectionString property: Primary connection string of the created namespace authorization rule.
|
String |
primaryKey()
Get the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
|
String |
secondaryConnectionString()
Get the secondaryConnectionString property: Secondary connection string of the created namespace authorization
rule.
|
String |
secondaryKey()
Get the secondaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
|
void |
validate()
Validates the instance.
|
ResourceListKeysInner |
withKeyName(String keyName)
Set the keyName property: A string that describes the authorization rule.
|
ResourceListKeysInner |
withPrimaryConnectionString(String primaryConnectionString)
Set the primaryConnectionString property: Primary connection string of the created namespace authorization rule.
|
ResourceListKeysInner |
withPrimaryKey(String primaryKey)
Set the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
|
ResourceListKeysInner |
withSecondaryConnectionString(String secondaryConnectionString)
Set the secondaryConnectionString property: Secondary connection string of the created namespace authorization
rule.
|
ResourceListKeysInner |
withSecondaryKey(String secondaryKey)
Set the secondaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
|
public String primaryConnectionString()
public ResourceListKeysInner withPrimaryConnectionString(String primaryConnectionString)
primaryConnectionString - the primaryConnectionString value to set.public String secondaryConnectionString()
public ResourceListKeysInner withSecondaryConnectionString(String secondaryConnectionString)
secondaryConnectionString - the secondaryConnectionString value to set.public String primaryKey()
public ResourceListKeysInner withPrimaryKey(String primaryKey)
primaryKey - the primaryKey value to set.public String secondaryKey()
public ResourceListKeysInner withSecondaryKey(String secondaryKey)
secondaryKey - the secondaryKey value to set.public String keyName()
public ResourceListKeysInner withKeyName(String keyName)
keyName - the keyName value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.