KeyVaultCertificateExpiredEventData Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.KeyVaultCertificateExpiredEventData

Implements

public final class KeyVaultCertificateExpiredEventData
implements JsonSerializable<KeyVaultCertificateExpiredEventData>

Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.CertificateExpired event.

Constructor Summary

Constructor Description
KeyVaultCertificateExpiredEventData()

Creates an instance of KeyVaultCertificateExpiredEventData class.

Method Summary

Modifier and Type Method and Description
static KeyVaultCertificateExpiredEventData fromJson(JsonReader jsonReader)

Reads an instance of KeyVaultCertificateExpiredEventData from the JsonReader.

Float getExp()

Get the exp property: The expiration date of the object that triggered this event.

String getId()

Get the id property: The id of the object that triggered this event.

Float getNbf()

Get the nbf property: Not before date of the object that triggered this event.

String getObjectName()

Get the objectName property: The name of the object that triggered this event.

String getObjectType()

Get the objectType property: The type of the object that triggered this event.

String getVaultName()

Get the vaultName property: Key vault name of the object that triggered this event.

String getVersion()

Get the version property: The version of the object that triggered this event.

KeyVaultCertificateExpiredEventData setExp(Float exp)

Set the exp property: The expiration date of the object that triggered this event.

KeyVaultCertificateExpiredEventData setId(String id)

Set the id property: The id of the object that triggered this event.

KeyVaultCertificateExpiredEventData setNbf(Float nbf)

Set the nbf property: Not before date of the object that triggered this event.

KeyVaultCertificateExpiredEventData setObjectName(String objectName)

Set the objectName property: The name of the object that triggered this event.

KeyVaultCertificateExpiredEventData setObjectType(String objectType)

Set the objectType property: The type of the object that triggered this event.

KeyVaultCertificateExpiredEventData setVaultName(String vaultName)

Set the vaultName property: Key vault name of the object that triggered this event.

KeyVaultCertificateExpiredEventData setVersion(String version)

Set the version property: The version of the object that triggered this event.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

KeyVaultCertificateExpiredEventData

public KeyVaultCertificateExpiredEventData()

Creates an instance of KeyVaultCertificateExpiredEventData class.

Method Details

fromJson

public static KeyVaultCertificateExpiredEventData fromJson(JsonReader jsonReader)

Reads an instance of KeyVaultCertificateExpiredEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of KeyVaultCertificateExpiredEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the KeyVaultCertificateExpiredEventData.

getExp

public Float getExp()

Get the exp property: The expiration date of the object that triggered this event.

Returns:

the exp value.

getId

public String getId()

Get the id property: The id of the object that triggered this event.

Returns:

the id value.

getNbf

public Float getNbf()

Get the nbf property: Not before date of the object that triggered this event.

Returns:

the nbf value.

getObjectName

public String getObjectName()

Get the objectName property: The name of the object that triggered this event.

Returns:

the objectName value.

getObjectType

public String getObjectType()

Get the objectType property: The type of the object that triggered this event.

Returns:

the objectType value.

getVaultName

public String getVaultName()

Get the vaultName property: Key vault name of the object that triggered this event.

Returns:

the vaultName value.

getVersion

public String getVersion()

Get the version property: The version of the object that triggered this event.

Returns:

the version value.

setExp

public KeyVaultCertificateExpiredEventData setExp(Float exp)

Set the exp property: The expiration date of the object that triggered this event.

Parameters:

exp - the exp value to set.

Returns:

the KeyVaultCertificateExpiredEventData object itself.

setId

public KeyVaultCertificateExpiredEventData setId(String id)

Set the id property: The id of the object that triggered this event.

Parameters:

id - the id value to set.

Returns:

the KeyVaultCertificateExpiredEventData object itself.

setNbf

public KeyVaultCertificateExpiredEventData setNbf(Float nbf)

Set the nbf property: Not before date of the object that triggered this event.

Parameters:

nbf - the nbf value to set.

Returns:

the KeyVaultCertificateExpiredEventData object itself.

setObjectName

public KeyVaultCertificateExpiredEventData setObjectName(String objectName)

Set the objectName property: The name of the object that triggered this event.

Parameters:

objectName - the objectName value to set.

Returns:

the KeyVaultCertificateExpiredEventData object itself.

setObjectType

public KeyVaultCertificateExpiredEventData setObjectType(String objectType)

Set the objectType property: The type of the object that triggered this event.

Parameters:

objectType - the objectType value to set.

Returns:

the KeyVaultCertificateExpiredEventData object itself.

setVaultName

public KeyVaultCertificateExpiredEventData setVaultName(String vaultName)

Set the vaultName property: Key vault name of the object that triggered this event.

Parameters:

vaultName - the vaultName value to set.

Returns:

the KeyVaultCertificateExpiredEventData object itself.

setVersion

public KeyVaultCertificateExpiredEventData setVersion(String version)

Set the version property: The version of the object that triggered this event.

Parameters:

version - the version value to set.

Returns:

the KeyVaultCertificateExpiredEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Latest