RegenerateAccessKeyParameters Class
- java.
lang. Object - com.
microsoft. azure. management. eventhub. RegenerateAccessKeyParameters
- com.
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 Key |
Key |
keyType()
Get the access key to regenerate. |
Regenerate |
withKey(String key)
Set optional, if the key value provided, is set for Key |
Regenerate |
withKeyType(KeyType keyType)
Set the access key to regenerate. |
Methods inherited from java.lang.Object
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:
keyType
public KeyType keyType()
Get the access key to regenerate. Possible values include: 'PrimaryKey', 'SecondaryKey'.
Returns:
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:
Returns:
withKeyType
public RegenerateAccessKeyParameters withKeyType(KeyType keyType)
Set the access key to regenerate. Possible values include: 'PrimaryKey', 'SecondaryKey'.
Parameters:
Returns:
Applies to
Azure SDK for Java