### YamlMime:JavaType
uid: "com.azure.resourcemanager.keyvault.models.Trigger"
fullName: "com.azure.resourcemanager.keyvault.models.Trigger"
name: "Trigger"
nameWithType: "Trigger"
summary: "The Trigger model."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **Trigger** implements <>"
constructors:
- uid: "com.azure.resourcemanager.keyvault.models.Trigger.Trigger()"
fullName: "com.azure.resourcemanager.keyvault.models.Trigger.Trigger()"
name: "Trigger()"
nameWithType: "Trigger.Trigger()"
summary: "Creates an instance of Trigger class."
syntax: "public Trigger()"
desc: "Creates an instance of Trigger class."
methods:
- uid: "com.azure.resourcemanager.keyvault.models.Trigger.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.keyvault.models.Trigger.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Trigger.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Trigger from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static Trigger fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Trigger."
type: "IOException"
desc: "Reads an instance of Trigger from the JsonReader."
returns:
description: "An instance of Trigger if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: ""
- uid: "com.azure.resourcemanager.keyvault.models.Trigger.timeAfterCreate()"
fullName: "com.azure.resourcemanager.keyvault.models.Trigger.timeAfterCreate()"
name: "timeAfterCreate()"
nameWithType: "Trigger.timeAfterCreate()"
summary: "Get the timeAfterCreate property: The time duration after key creation to rotate the key."
syntax: "public String timeAfterCreate()"
desc: "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:
description: "the timeAfterCreate value."
type: "String"
- uid: "com.azure.resourcemanager.keyvault.models.Trigger.timeBeforeExpiry()"
fullName: "com.azure.resourcemanager.keyvault.models.Trigger.timeBeforeExpiry()"
name: "timeBeforeExpiry()"
nameWithType: "Trigger.timeBeforeExpiry()"
summary: "Get the timeBeforeExpiry property: The time duration before key expiring to rotate or notify."
syntax: "public String timeBeforeExpiry()"
desc: "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:
description: "the timeBeforeExpiry value."
type: "String"
- uid: "com.azure.resourcemanager.keyvault.models.Trigger.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.keyvault.models.Trigger.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Trigger.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.keyvault.models.Trigger.validate()"
fullName: "com.azure.resourcemanager.keyvault.models.Trigger.validate()"
name: "validate()"
nameWithType: "Trigger.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.keyvault.models.Trigger.withTimeAfterCreate(java.lang.String)"
fullName: "com.azure.resourcemanager.keyvault.models.Trigger.withTimeAfterCreate(String timeAfterCreate)"
name: "withTimeAfterCreate(String timeAfterCreate)"
nameWithType: "Trigger.withTimeAfterCreate(String timeAfterCreate)"
summary: "Set the timeAfterCreate property: The time duration after key creation to rotate the key."
parameters:
- description: "the timeAfterCreate value to set."
name: "timeAfterCreate"
type: "String"
syntax: "public Trigger withTimeAfterCreate(String timeAfterCreate)"
desc: "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'."
returns:
description: "the Trigger object itself."
type: ""
- uid: "com.azure.resourcemanager.keyvault.models.Trigger.withTimeBeforeExpiry(java.lang.String)"
fullName: "com.azure.resourcemanager.keyvault.models.Trigger.withTimeBeforeExpiry(String timeBeforeExpiry)"
name: "withTimeBeforeExpiry(String timeBeforeExpiry)"
nameWithType: "Trigger.withTimeBeforeExpiry(String timeBeforeExpiry)"
summary: "Set the timeBeforeExpiry property: The time duration before key expiring to rotate or notify."
parameters:
- description: "the timeBeforeExpiry value to set."
name: "timeBeforeExpiry"
type: "String"
syntax: "public Trigger withTimeBeforeExpiry(String timeBeforeExpiry)"
desc: "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'."
returns:
description: "the Trigger object itself."
type: ""
type: "class"
desc: "The Trigger model."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.keyvault.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-keyvault:2.44.0