ManagedHsmTrigger Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. ManagedHsmTrigger
- com.
Implements
public final class ManagedHsmTrigger
implements JsonSerializable<ManagedHsmTrigger>
The ManagedHsmTrigger model.
Constructor Summary
Constructor | Description |
---|---|
ManagedHsmTrigger() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
timeAfterCreate()
Get the time |
String |
timeBeforeExpiry()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withTimeAfterCreate(String timeAfterCreate)
Set the time |
Managed |
withTimeBeforeExpiry(String timeBeforeExpiry)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
ManagedHsmTrigger
public ManagedHsmTrigger()
Creates an instance of ManagedHsmTrigger class.
Method Details
fromJson
public static ManagedHsmTrigger fromJson(JsonReader jsonReader)
Reads an instance of ManagedHsmTrigger from the JsonReader.
Parameters:
Returns:
Throws:
timeAfterCreate
public String timeAfterCreate()
Get the timeAfterCreate property: The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
Returns:
timeBeforeExpiry
public String timeBeforeExpiry()
Get the timeBeforeExpiry property: The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
Returns:
toJson
validate
public void validate()
Validates the instance.
withTimeAfterCreate
public ManagedHsmTrigger withTimeAfterCreate(String timeAfterCreate)
Set the timeAfterCreate property: The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
Parameters:
Returns:
withTimeBeforeExpiry
public ManagedHsmTrigger withTimeBeforeExpiry(String timeBeforeExpiry)
Set the timeBeforeExpiry property: The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'.
Parameters:
Returns:
Applies to
Azure SDK for Java