public class ShowResourceGroupsRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showResourceGroups(ShowResourceGroupsRequest)
.
Requests resource group properties. Returns detailed information about the requested resource groups.
Modifier and Type | Class and Description |
---|---|
static class |
ShowResourceGroupsRequest.Options
Optional parameters.
|
Constructor and Description |
---|
ShowResourceGroupsRequest()
Constructs a ShowResourceGroupsRequest object with default parameters.
|
ShowResourceGroupsRequest(List<String> names,
Map<String,String> options)
Constructs a ShowResourceGroupsRequest object with the specified
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<String> |
getNames() |
Map<String,String> |
getOptions() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
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.
|
ShowResourceGroupsRequest |
setNames(List<String> names) |
ShowResourceGroupsRequest |
setOptions(Map<String,String> options) |
String |
toString() |
public ShowResourceGroupsRequest()
public ShowResourceGroupsRequest(List<String> names, Map<String,String> options)
names
- List of names of groups to be shown. A single entry with
an empty string returns all groups.options
- Optional parameters.
SHOW_DEFAULT_VALUES
: If true
include values of
fields that are based on the default resource group.
Supported values:
The default value is TRUE
.
SHOW_DEFAULT_GROUP
: If true
include the default
resource group in the response.
Supported values:
The default value is TRUE
.
Map
.public static org.apache.avro.Schema getClassSchema()
public List<String> getNames()
public ShowResourceGroupsRequest setNames(List<String> names)
names
- List of names of groups to be shown. A single entry with
an empty string returns all groups.this
to mimic the builder pattern.public Map<String,String> getOptions()
SHOW_DEFAULT_VALUES
: If true
include values of fields
that are based on the default resource group.
Supported values:
The default value is TRUE
.
SHOW_DEFAULT_GROUP
: If true
include the default
resource group in the response.
Supported values:
The default value is TRUE
.
Map
.public ShowResourceGroupsRequest setOptions(Map<String,String> options)
options
- Optional parameters.
SHOW_DEFAULT_VALUES
: If true
include values of
fields that are based on the default resource group.
Supported values:
The default value is TRUE
.
SHOW_DEFAULT_GROUP
: If true
include the default
resource group in the response.
Supported values:
The default value is TRUE
.
Map
.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 © 2020. All rights reserved.