AccessKeysInner Class
- java.
lang. Object - com.
azure. resourcemanager. servicebus. fluent. models. AccessKeysInner
- com.
Implements
public final class AccessKeysInner
implements JsonSerializable<AccessKeysInner>
Namespace/ServiceBus Connection String.
Constructor Summary
Constructor | Description |
---|---|
AccessKeysInner() |
Creates an instance of Access |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
aliasPrimaryConnectionString()
Get the alias |
String |
aliasSecondaryConnectionString()
Get the alias |
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
String |
keyName()
Get the key |
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. |
Methods inherited from java.lang.Object
Constructor Details
AccessKeysInner
public AccessKeysInner()
Creates an instance of AccessKeysInner class.
Method Details
aliasPrimaryConnectionString
public String aliasPrimaryConnectionString()
Get the aliasPrimaryConnectionString property: Primary connection string of the alias if GEO DR is enabled.
Returns:
aliasSecondaryConnectionString
public String aliasSecondaryConnectionString()
Get the aliasSecondaryConnectionString property: Secondary connection string of the alias if GEO DR is enabled.
Returns:
fromJson
public static AccessKeysInner fromJson(JsonReader jsonReader)
Reads an instance of AccessKeysInner from the JsonReader.
Parameters:
Returns:
Throws:
keyName
public String keyName()
Get the keyName property: A string that describes the authorization rule.
Returns:
primaryConnectionString
public String primaryConnectionString()
Get the primaryConnectionString property: Primary connection string of the created namespace authorization rule.
Returns:
primaryKey
public String primaryKey()
Get the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
Returns:
secondaryConnectionString
public String secondaryConnectionString()
Get the secondaryConnectionString property: Secondary connection string of the created namespace authorization rule.
Returns:
secondaryKey
public String secondaryKey()
Get the secondaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
Returns:
toJson
validate
public void validate()
Validates the instance.