Class TopicRegenerateKeyRequest
java.lang.Object
com.azure.resourcemanager.eventgrid.models.TopicRegenerateKeyRequest
Topic regenerate share 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
-
TopicRegenerateKeyRequest
public TopicRegenerateKeyRequest()
-
-
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 TopicRegenerateKeyRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-