Class PartnerNamespaceRegenerateKeyRequest
java.lang.Object
com.azure.resourcemanager.eventgrid.models.PartnerNamespaceRegenerateKeyRequest
PartnerNamespace regenerate shared access key request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkeyName()
Get the keyName property: Key name to regenerate (key1 or key2).void
validate()
Validates the instance.withKeyName
(String keyName) Set the keyName property: Key name to regenerate (key1 or key2).
-
Constructor Details
-
PartnerNamespaceRegenerateKeyRequest
public PartnerNamespaceRegenerateKeyRequest()
-
-
Method Details
-
keyName
Get the keyName property: Key name to regenerate (key1 or key2).- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: Key name to regenerate (key1 or key2).- Parameters:
keyName
- the keyName value to set.- Returns:
- the PartnerNamespaceRegenerateKeyRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-