RegenerateAccessKeyParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.servicebus.models.RegenerateAccessKeyParameters

public final class RegenerateAccessKeyParameters

Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset.

Constructor Summary

Constructor Description
RegenerateAccessKeyParameters()

Method Summary

Modifier and Type Method and Description
String key()

Get the key property: Optional, if the key value provided, is reset for KeyType value or autogenerate Key value set for keyType.

KeyType keyType()

Get the keyType property: The access key to regenerate.

void validate()

Validates the instance.

RegenerateAccessKeyParameters withKey(String key)

Set the key property: Optional, if the key value provided, is reset for KeyType value or autogenerate Key value set for keyType.

RegenerateAccessKeyParameters withKeyType(KeyType keyType)

Set the keyType property: The access key to regenerate.

Methods inherited from java.lang.Object

Constructor Details

RegenerateAccessKeyParameters

public RegenerateAccessKeyParameters()

Method Details

key

public String key()

Get the key property: Optional, if the key value provided, is reset for KeyType value or autogenerate Key value set for keyType.

Returns:

the key value.

keyType

public KeyType keyType()

Get the keyType property: The access key to regenerate.

Returns:

the keyType value.

validate

public void validate()

Validates the instance.

withKey

public RegenerateAccessKeyParameters withKey(String key)

Set the key property: Optional, if the key value provided, is reset for KeyType value or autogenerate Key value set for keyType.

Parameters:

key - the key value to set.

Returns:

the RegenerateAccessKeyParameters object itself.

withKeyType

public RegenerateAccessKeyParameters withKeyType(KeyType keyType)

Set the keyType property: The access key to regenerate.

Parameters:

keyType - the keyType value to set.

Returns:

the RegenerateAccessKeyParameters object itself.

Applies to