Class TopicRegenerateKeyRequest
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.models.TopicRegenerateKeyRequest
-
public final class TopicRegenerateKeyRequest extends Object
Topic regenerate share access key request.
-
-
Constructor Summary
Constructors Constructor Description TopicRegenerateKeyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringkeyName()Get the keyName property: Key name to regenerate key1 or key2.voidvalidate()Validates the instance.TopicRegenerateKeyRequestwithKeyName(String keyName)Set the keyName property: Key name to regenerate key1 or key2.
-
-
-
Method Detail
-
keyName
public String keyName()
Get the keyName property: Key name to regenerate key1 or key2.- Returns:
- the keyName value.
-
withKeyName
public TopicRegenerateKeyRequest withKeyName(String keyName)
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.
-
-