public class AdminShowAlertsResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.adminShowAlerts
.Constructor and Description |
---|
AdminShowAlertsResponse()
Constructs an AdminShowAlertsResponse object with default parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
Map<String,String> |
getInfo()
Additional information.
|
List<Map<String,String>> |
getParams()
Parameters for each alert, sorted from most recent to least recent.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<String> |
getTimestamps()
Timestamp for when the alert occurred, sorted from most recent to least
recent.
|
List<String> |
getTypes()
Type of system alert, sorted from most recent to least recent.
|
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
AdminShowAlertsResponse |
setInfo(Map<String,String> info)
Additional information.
|
AdminShowAlertsResponse |
setParams(List<Map<String,String>> params)
Parameters for each alert, sorted from most recent to least recent.
|
AdminShowAlertsResponse |
setTimestamps(List<String> timestamps)
Timestamp for when the alert occurred, sorted from most recent to least
recent.
|
AdminShowAlertsResponse |
setTypes(List<String> types)
Type of system alert, sorted from most recent to least recent.
|
String |
toString() |
public AdminShowAlertsResponse()
public static org.apache.avro.Schema getClassSchema()
public List<String> getTimestamps()
types
and params
.timestamps
.public AdminShowAlertsResponse setTimestamps(List<String> timestamps)
types
and params
.timestamps
- The new value for timestamps
.this
to mimic the builder pattern.public List<String> getTypes()
timestamps
and params
.types
.public AdminShowAlertsResponse setTypes(List<String> types)
timestamps
and params
.types
- The new value for types
.this
to mimic the builder pattern.public List<Map<String,String>> getParams()
timestamps
and types
.params
.public AdminShowAlertsResponse setParams(List<Map<String,String>> params)
timestamps
and types
.params
- The new value for params
.this
to mimic the builder pattern.public Map<String,String> getInfo()
info
.public AdminShowAlertsResponse setInfo(Map<String,String> info)
info
- The new value for info
.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2025. All rights reserved.