Class DomainRegenerateKeyRequest
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.models.DomainRegenerateKeyRequest
-
public final class DomainRegenerateKeyRequest extends Object
Domain regenerate share access key request.
-
-
Constructor Summary
Constructors Constructor Description DomainRegenerateKeyRequest()
-
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.DomainRegenerateKeyRequestwithKeyName(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 DomainRegenerateKeyRequest withKeyName(String keyName)
Set the keyName property: Key name to regenerate key1 or key2.- Parameters:
keyName- the keyName value to set.- Returns:
- the DomainRegenerateKeyRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-