ManagedHsmLifetimeAction Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. ManagedHsmLifetimeAction
- com.
Implements
public final class ManagedHsmLifetimeAction
implements JsonSerializable<ManagedHsmLifetimeAction>
The ManagedHsmLifetimeAction model.
Constructor Summary
Constructor | Description |
---|---|
ManagedHsmLifetimeAction() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Managed |
action()
Get the action property: The action of key rotation policy lifetime |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Json |
toJson(JsonWriter jsonWriter) |
Managed |
trigger()
Get the trigger property: The trigger of key rotation policy lifetime |
void |
validate()
Validates the instance. |
Managed |
withAction(ManagedHsmAction action)
Set the action property: The action of key rotation policy lifetime |
Managed |
withTrigger(ManagedHsmTrigger trigger)
Set the trigger property: The trigger of key rotation policy lifetime |
Methods inherited from java.lang.Object
Constructor Details
ManagedHsmLifetimeAction
public ManagedHsmLifetimeAction()
Creates an instance of ManagedHsmLifetimeAction class.
Method Details
action
public ManagedHsmAction action()
Get the action property: The action of key rotation policy lifetimeAction.
Returns:
fromJson
public static ManagedHsmLifetimeAction fromJson(JsonReader jsonReader)
Reads an instance of ManagedHsmLifetimeAction from the JsonReader.
Parameters:
Returns:
Throws:
toJson
trigger
public ManagedHsmTrigger trigger()
Get the trigger property: The trigger of key rotation policy lifetimeAction.
Returns:
validate
public void validate()
Validates the instance.
withAction
public ManagedHsmLifetimeAction withAction(ManagedHsmAction action)
Set the action property: The action of key rotation policy lifetimeAction.
Parameters:
Returns:
withTrigger
public ManagedHsmLifetimeAction withTrigger(ManagedHsmTrigger trigger)
Set the trigger property: The trigger of key rotation policy lifetimeAction.
Parameters:
Returns:
Applies to
Azure SDK for Java