RegenerateAccessKeyParameters Class

  • java.lang.Object
    • com.microsoft.azure.management.eventhub.RegenerateAccessKeyParameters

public 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
java.lang.String key()

Get optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType.

KeyType keyType()

Get the access key to regenerate.

RegenerateAccessKeyParameters withKey(String key)

Set optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType.

RegenerateAccessKeyParameters withKeyType(KeyType keyType)

Set the access key to regenerate.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

RegenerateAccessKeyParameters

public RegenerateAccessKeyParameters()

Method Details

key

public String key()

Get optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType.

Returns:

the key value

keyType

public KeyType keyType()

Get the access key to regenerate. Possible values include: 'PrimaryKey', 'SecondaryKey'.

Returns:

the keyType value

withKey

public RegenerateAccessKeyParameters withKey(String key)

Set optional, if the key value provided, is set for KeyType or autogenerated 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 access key to regenerate. Possible values include: 'PrimaryKey', 'SecondaryKey'.

Parameters:

keyType - the keyType value to set

Returns:

the RegenerateAccessKeyParameters object itself.

Applies to