KeyVaultCertificateNewVersionCreatedEventData Class

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

Implements

public final class KeyVaultCertificateNewVersionCreatedEventData
implements JsonSerializable<KeyVaultCertificateNewVersionCreatedEventData>

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

Constructor Summary

Constructor Description
KeyVaultCertificateNewVersionCreatedEventData()

Creates an instance of KeyVaultCertificateNewVersionCreatedEventData class.

Method Summary

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

Reads an instance of KeyVaultCertificateNewVersionCreatedEventData 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.

KeyVaultCertificateNewVersionCreatedEventData setExp(Float exp)

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

KeyVaultCertificateNewVersionCreatedEventData setId(String id)

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

KeyVaultCertificateNewVersionCreatedEventData setNbf(Float nbf)

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

KeyVaultCertificateNewVersionCreatedEventData setObjectName(String objectName)

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

KeyVaultCertificateNewVersionCreatedEventData setObjectType(String objectType)

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

KeyVaultCertificateNewVersionCreatedEventData setVaultName(String vaultName)

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

KeyVaultCertificateNewVersionCreatedEventData 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

KeyVaultCertificateNewVersionCreatedEventData

public KeyVaultCertificateNewVersionCreatedEventData()

Creates an instance of KeyVaultCertificateNewVersionCreatedEventData class.

Method Details

fromJson

public static KeyVaultCertificateNewVersionCreatedEventData fromJson(JsonReader jsonReader)

Reads an instance of KeyVaultCertificateNewVersionCreatedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of KeyVaultCertificateNewVersionCreatedEventData 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 KeyVaultCertificateNewVersionCreatedEventData.

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 KeyVaultCertificateNewVersionCreatedEventData 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 KeyVaultCertificateNewVersionCreatedEventData object itself.

setId

public KeyVaultCertificateNewVersionCreatedEventData 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 KeyVaultCertificateNewVersionCreatedEventData object itself.

setNbf

public KeyVaultCertificateNewVersionCreatedEventData 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 KeyVaultCertificateNewVersionCreatedEventData object itself.

setObjectName

public KeyVaultCertificateNewVersionCreatedEventData 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 KeyVaultCertificateNewVersionCreatedEventData object itself.

setObjectType

public KeyVaultCertificateNewVersionCreatedEventData 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 KeyVaultCertificateNewVersionCreatedEventData object itself.

setVaultName

public KeyVaultCertificateNewVersionCreatedEventData 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 KeyVaultCertificateNewVersionCreatedEventData object itself.

setVersion

public KeyVaultCertificateNewVersionCreatedEventData 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 KeyVaultCertificateNewVersionCreatedEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to