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