java.lang.Object
com.azure.resourcemanager.eventhubs.fluent.models.AccessKeysInner
public final class AccessKeysInner
extends Object
Namespace/EventHub Connection String.
-
Constructor Summary
Constructors
-
Method Summary
Get the aliasPrimaryConnectionString property: Primary connection string of the alias if GEO DR is enabled.
Get the aliasSecondaryConnectionString property: Secondary connection string of the alias if GEO DR is enabled.
Get the keyName property: A string that describes the AuthorizationRule.
Get the primaryConnectionString property: Primary connection string of the created namespace AuthorizationRule.
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
AuthorizationRule.
Get the secondaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
void
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 AuthorizationRule.
- Returns:
- the primaryConnectionString value.
-
secondaryConnectionString
public String secondaryConnectionString()
Get the secondaryConnectionString property: Secondary connection string of the created namespace
AuthorizationRule.
- Returns:
- the secondaryConnectionString value.
-
aliasPrimaryConnectionString
public String aliasPrimaryConnectionString()
Get the aliasPrimaryConnectionString property: Primary connection string of the alias if GEO DR is enabled.
- Returns:
- the aliasPrimaryConnectionString value.
-
aliasSecondaryConnectionString
public String aliasSecondaryConnectionString()
Get the aliasSecondaryConnectionString property: Secondary connection string of the alias if GEO DR is enabled.
- Returns:
- the aliasSecondaryConnectionString value.
-
primaryKey
Get the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Returns:
- the primaryKey value.
-
secondaryKey
Get the secondaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Returns:
- the secondaryKey value.
-
keyName
Get the keyName property: A string that describes the AuthorizationRule.
- Returns:
- the keyName value.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.