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