public final class AccessKeysInner
extends Object
Namespace/Relay Connection String.
-
Constructor Summary
Constructors
-
Method Summary
Get the keyName property: A string that describes the authorization rule.
Get the primaryConnectionString property: Primary connection string of the created namespace authorization rule.
Get the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
Get the secondaryConnectionString property: Secondary connection string of the created namespace authorization
rule.
Get the secondaryKey property: A base64-encoded 256-bit secondary key for signing and validating the SAS token.
void
Set the keyName property: A string that describes the authorization rule.
Set the primaryConnectionString property: Primary connection string of the created namespace authorization rule.
Set the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
Set the secondaryConnectionString property: Secondary connection string of the created namespace authorization
rule.
Set the secondaryKey property: A base64-encoded 256-bit secondary key for signing and validating the SAS token.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AccessKeysInner
public AccessKeysInner()
-
Method Details
-
primaryConnectionString
public String primaryConnectionString()
Get the primaryConnectionString property: Primary connection string of the created namespace authorization rule.
- Returns:
- the primaryConnectionString value.
-
withPrimaryConnectionString
Set the primaryConnectionString property: Primary connection string of the created namespace authorization rule.
- Parameters:
primaryConnectionString
- the primaryConnectionString value to set.
- Returns:
- the AccessKeysInner object itself.
-
secondaryConnectionString
public String secondaryConnectionString()
Get the secondaryConnectionString property: Secondary connection string of the created namespace authorization
rule.
- Returns:
- the secondaryConnectionString value.
-
withSecondaryConnectionString
Set the secondaryConnectionString property: Secondary connection string of the created namespace authorization
rule.
- Parameters:
secondaryConnectionString
- the secondaryConnectionString value to set.
- Returns:
- the AccessKeysInner object itself.
-
primaryKey
Get the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Returns:
- the primaryKey value.
-
withPrimaryKey
Set the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Parameters:
primaryKey
- the primaryKey value to set.
- Returns:
- the AccessKeysInner object itself.
-
secondaryKey
Get the secondaryKey property: A base64-encoded 256-bit secondary key for signing and validating the SAS token.
- Returns:
- the secondaryKey value.
-
withSecondaryKey
Set the secondaryKey property: A base64-encoded 256-bit secondary key for signing and validating the SAS token.
- Parameters:
secondaryKey
- the secondaryKey value to set.
- Returns:
- the AccessKeysInner object itself.
-
keyName
Get the keyName property: A string that describes the authorization rule.
- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: A string that describes the authorization rule.
- Parameters:
keyName
- the keyName value to set.
- Returns:
- the AccessKeysInner object itself.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.