Action Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. Action
- com.
Implements
public final class Action
implements JsonSerializable<Action>
The Action model.
Constructor Summary
Constructor | Description |
---|---|
Action() |
Creates an instance of Action class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Action |
fromJson(JsonReader jsonReader)
Reads an instance of Action from the Json |
Json |
toJson(JsonWriter jsonWriter) |
Key |
type()
Get the type property: The type of action. |
void |
validate()
Validates the instance. |
Action |
withType(KeyRotationPolicyActionType type)
Set the type property: The type of action. |
Methods inherited from java.lang.Object
Constructor Details
Action
public Action()
Creates an instance of Action class.
Method Details
fromJson
public static Action fromJson(JsonReader jsonReader)
Reads an instance of Action from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public KeyRotationPolicyActionType type()
Get the type property: The type of action.
Returns:
validate
public void validate()
Validates the instance.
withType
public Action withType(KeyRotationPolicyActionType type)
Set the type property: The type of action.
Parameters:
Returns:
Applies to
Azure SDK for Java