RedisPatchingCompletedEventData Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. RedisPatchingCompletedEventData
- com.
Implements
public final class RedisPatchingCompletedEventData
implements JsonSerializable<RedisPatchingCompletedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Cache.PatchingCompleted event.
Constructor Summary
Constructor | Description |
---|---|
RedisPatchingCompletedEventData() |
Creates an instance of Redis |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Redis |
fromJson(JsonReader jsonReader)
Reads an instance of Redis |
String |
getName()
Get the name property: The name of this event. |
String |
getStatus()
Get the status property: The status of this event. |
Offset |
getTimestamp()
Get the timestamp property: The time at which the event occurred. |
Redis |
setName(String name)
Set the name property: The name of this event. |
Redis |
setStatus(String status)
Set the status property: The status of this event. |
Redis |
setTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The time at which the event occurred. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
RedisPatchingCompletedEventData
public RedisPatchingCompletedEventData()
Creates an instance of RedisPatchingCompletedEventData class.
Method Details
fromJson
public static RedisPatchingCompletedEventData fromJson(JsonReader jsonReader)
Reads an instance of RedisPatchingCompletedEventData from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name of this event.
Returns:
getStatus
public String getStatus()
Get the status property: The status of this event. Failed or succeeded.
Returns:
getTimestamp
public OffsetDateTime getTimestamp()
Get the timestamp property: The time at which the event occurred.
Returns:
setName
public RedisPatchingCompletedEventData setName(String name)
Set the name property: The name of this event.
Parameters:
Returns:
setStatus
public RedisPatchingCompletedEventData setStatus(String status)
Set the status property: The status of this event. Failed or succeeded.
Parameters:
Returns:
setTimestamp
public RedisPatchingCompletedEventData setTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The time at which the event occurred.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for