Class DatabaseAccountRegenerateKeyParameters
- java.lang.Object
-
- com.microsoft.azure.management.cosmosdb.DatabaseAccountRegenerateKeyParameters
-
public class DatabaseAccountRegenerateKeyParameters extends Object
Parameters to regenerate the keys within the database account.
-
-
Constructor Summary
Constructors Constructor Description DatabaseAccountRegenerateKeyParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyKindkeyKind()Get the access key to regenerate.DatabaseAccountRegenerateKeyParameterswithKeyKind(KeyKind keyKind)Set the access key to regenerate.
-
-
-
Method Detail
-
keyKind
public KeyKind keyKind()
Get the access key to regenerate. Possible values include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly'.- Returns:
- the keyKind value
-
withKeyKind
public DatabaseAccountRegenerateKeyParameters withKeyKind(KeyKind keyKind)
Set the access key to regenerate. Possible values include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly'.- Parameters:
keyKind- the keyKind value to set- Returns:
- the DatabaseAccountRegenerateKeyParameters object itself.
-
-