com.azure.messaging.eventgrid.systemevents.RedisPatchingCompletedEventData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-messaging-eventgrid Show documentation
Show all versions of azure-messaging-eventgrid Show documentation
This package contains Microsoft Azure EventGrid SDK.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.messaging.eventgrid.systemevents;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
/** Schema of the Data property of an EventGridEvent for a Microsoft.Cache.PatchingCompleted event. */
@Fluent
public final class RedisPatchingCompletedEventData {
/*
* The time at which the event occurred.
*/
@JsonProperty(value = "timestamp")
private OffsetDateTime timestamp;
/*
* The name of this event.
*/
@JsonProperty(value = "name")
private String name;
/*
* The status of this event. Failed or succeeded
*/
@JsonProperty(value = "status")
private String status;
/** Creates an instance of RedisPatchingCompletedEventData class. */
public RedisPatchingCompletedEventData() {}
/**
* Get the timestamp property: The time at which the event occurred.
*
* @return the timestamp value.
*/
public OffsetDateTime getTimestamp() {
return this.timestamp;
}
/**
* Set the timestamp property: The time at which the event occurred.
*
* @param timestamp the timestamp value to set.
* @return the RedisPatchingCompletedEventData object itself.
*/
public RedisPatchingCompletedEventData setTimestamp(OffsetDateTime timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* Get the name property: The name of this event.
*
* @return the name value.
*/
public String getName() {
return this.name;
}
/**
* Set the name property: The name of this event.
*
* @param name the name value to set.
* @return the RedisPatchingCompletedEventData object itself.
*/
public RedisPatchingCompletedEventData setName(String name) {
this.name = name;
return this;
}
/**
* Get the status property: The status of this event. Failed or succeeded.
*
* @return the status value.
*/
public String getStatus() {
return this.status;
}
/**
* Set the status property: The status of this event. Failed or succeeded.
*
* @param status the status value to set.
* @return the RedisPatchingCompletedEventData object itself.
*/
public RedisPatchingCompletedEventData setStatus(String status) {
this.status = status;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy