public class AdminShowAlertsResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.adminShowAlerts(AdminShowAlertsRequest)
.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.
|
List<Map<String,String>> |
getParams() |
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() |
List<String> |
getTypes() |
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 |
setParams(List<Map<String,String>> params) |
AdminShowAlertsResponse |
setTimestamps(List<String> timestamps) |
AdminShowAlertsResponse |
setTypes(List<String> types) |
String |
toString() |
public AdminShowAlertsResponse()
public static org.apache.avro.Schema getClassSchema()
public List<String> getTimestamps()
types
and params
.public AdminShowAlertsResponse setTimestamps(List<String> timestamps)
timestamps
- System alert timestamps. The array is sorted from
earliest to latest. Each array entry corresponds
with the entries at the same index in types
and params
.this
to mimic the builder pattern.public List<String> getTypes()
timestamps
and params
.public AdminShowAlertsResponse setTypes(List<String> types)
types
- System alert types. The array is sorted from earliest to
latest. Each array entry corresponds with the entries at
the same index in timestamps
and params
.this
to mimic the builder pattern.public List<Map<String,String>> getParams()
timestamps
and types
.public AdminShowAlertsResponse setParams(List<Map<String,String>> params)
params
- Parameters for each alert. The array is sorted from
earliest to latest. Each array entry corresponds with the
entries at the same index in timestamps
and
types
.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 © 2019. All rights reserved.