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