Class PolicykeyResource
- java.lang.Object
-
- com.azure.resourcemanager.notificationhubs.models.PolicykeyResource
-
public final class PolicykeyResource extends Object
Namespace/NotificationHub Regenerate Keys.
-
-
Constructor Summary
Constructors Constructor Description PolicykeyResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
policyKey()
Get the policyKey property: Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule.void
validate()
Validates the instance.PolicykeyResource
withPolicyKey(String policyKey)
Set the policyKey property: Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule.
-
-
-
Method Detail
-
policyKey
public String policyKey()
Get the policyKey property: Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary Key/Secondary Key.- Returns:
- the policyKey value.
-
withPolicyKey
public PolicykeyResource withPolicyKey(String policyKey)
Set the policyKey property: Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary Key/Secondary Key.- Parameters:
policyKey
- the policyKey value to set.- Returns:
- the PolicykeyResource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-