Class ResourceListKeysInner
- java.lang.Object
-
- com.azure.resourcemanager.notificationhubs.fluent.models.ResourceListKeysInner
-
public final class ResourceListKeysInner extends Object
Namespace/NotificationHub Connection String.
-
-
Constructor Summary
Constructors Constructor Description ResourceListKeysInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
keyName()
Get the keyName property: KeyName of the created AuthorizationRule.String
primaryConnectionString()
Get the primaryConnectionString property: PrimaryConnectionString of the AuthorizationRule.String
primaryKey()
Get the primaryKey property: PrimaryKey of the created AuthorizationRule.String
secondaryConnectionString()
Get the secondaryConnectionString property: SecondaryConnectionString of the created AuthorizationRule.String
secondaryKey()
Get the secondaryKey property: SecondaryKey of the created AuthorizationRule.void
validate()
Validates the instance.ResourceListKeysInner
withKeyName(String keyName)
Set the keyName property: KeyName of the created AuthorizationRule.ResourceListKeysInner
withPrimaryConnectionString(String primaryConnectionString)
Set the primaryConnectionString property: PrimaryConnectionString of the AuthorizationRule.ResourceListKeysInner
withPrimaryKey(String primaryKey)
Set the primaryKey property: PrimaryKey of the created AuthorizationRule.ResourceListKeysInner
withSecondaryConnectionString(String secondaryConnectionString)
Set the secondaryConnectionString property: SecondaryConnectionString of the created AuthorizationRule.ResourceListKeysInner
withSecondaryKey(String secondaryKey)
Set the secondaryKey property: SecondaryKey of the created AuthorizationRule.
-
-
-
Method Detail
-
primaryConnectionString
public String primaryConnectionString()
Get the primaryConnectionString property: PrimaryConnectionString of the AuthorizationRule.- Returns:
- the primaryConnectionString value.
-
withPrimaryConnectionString
public ResourceListKeysInner withPrimaryConnectionString(String primaryConnectionString)
Set the primaryConnectionString property: PrimaryConnectionString of the AuthorizationRule.- Parameters:
primaryConnectionString
- the primaryConnectionString value to set.- Returns:
- the ResourceListKeysInner object itself.
-
secondaryConnectionString
public String secondaryConnectionString()
Get the secondaryConnectionString property: SecondaryConnectionString of the created AuthorizationRule.- Returns:
- the secondaryConnectionString value.
-
withSecondaryConnectionString
public ResourceListKeysInner withSecondaryConnectionString(String secondaryConnectionString)
Set the secondaryConnectionString property: SecondaryConnectionString of the created AuthorizationRule.- Parameters:
secondaryConnectionString
- the secondaryConnectionString value to set.- Returns:
- the ResourceListKeysInner object itself.
-
primaryKey
public String primaryKey()
Get the primaryKey property: PrimaryKey of the created AuthorizationRule.- Returns:
- the primaryKey value.
-
withPrimaryKey
public ResourceListKeysInner withPrimaryKey(String primaryKey)
Set the primaryKey property: PrimaryKey of the created AuthorizationRule.- Parameters:
primaryKey
- the primaryKey value to set.- Returns:
- the ResourceListKeysInner object itself.
-
secondaryKey
public String secondaryKey()
Get the secondaryKey property: SecondaryKey of the created AuthorizationRule.- Returns:
- the secondaryKey value.
-
withSecondaryKey
public ResourceListKeysInner withSecondaryKey(String secondaryKey)
Set the secondaryKey property: SecondaryKey of the created AuthorizationRule.- Parameters:
secondaryKey
- the secondaryKey value to set.- Returns:
- the ResourceListKeysInner object itself.
-
keyName
public String keyName()
Get the keyName property: KeyName of the created AuthorizationRule.- Returns:
- the keyName value.
-
withKeyName
public ResourceListKeysInner withKeyName(String keyName)
Set the keyName property: KeyName of the created AuthorizationRule.- Parameters:
keyName
- the keyName value to set.- Returns:
- the ResourceListKeysInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-