TopicRegenerateKeyRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.TopicRegenerateKeyRequest

public final class TopicRegenerateKeyRequest

Topic regenerate share access key request.

Constructor Summary

Constructor Description
TopicRegenerateKeyRequest()

Method Summary

Modifier and Type Method and Description
String keyName()

Get the keyName property: Key name to regenerate key1 or key2.

void validate()

Validates the instance.

TopicRegenerateKeyRequest withKeyName(String keyName)

Set the keyName property: Key name to regenerate key1 or key2.

Methods inherited from java.lang.Object

Constructor Details

TopicRegenerateKeyRequest

public TopicRegenerateKeyRequest()

Method Details

keyName

public String keyName()

Get the keyName property: Key name to regenerate key1 or key2.

Returns:

the keyName value.

validate

public void validate()

Validates the instance.

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.

Applies to

Azure SDK for Java

Latest