Class GeoStatsCommandDescriptor.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.GeoStatsCommandDescriptor.Builder
-
- Enclosing class:
- GeoStatsCommandDescriptor
public static class GeoStatsCommandDescriptor.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayQueryString
public GeoStatsCommandDescriptor.Builder displayQueryString(String displayQueryString)
-
internalQueryString
public GeoStatsCommandDescriptor.Builder internalQueryString(String internalQueryString)
-
category
public GeoStatsCommandDescriptor.Builder category(String category)
-
referencedFields
public GeoStatsCommandDescriptor.Builder referencedFields(List<AbstractField> referencedFields)
-
declaredFields
public GeoStatsCommandDescriptor.Builder declaredFields(List<AbstractField> declaredFields)
-
isHidden
public GeoStatsCommandDescriptor.Builder isHidden(Boolean isHidden)
-
include
public GeoStatsCommandDescriptor.Builder include(GeoStatsCommandDescriptor.Include include)
Indicates which coordinates to show.Either client, server, client and server or custom. If custom is specified at least one of coordinatesField, regionField or countryField is required. Defaults to client.
- Parameters:
include
- the value to set- Returns:
- this builder
-
cityField
public GeoStatsCommandDescriptor.Builder cityField(AbstractField cityField)
The city field to use.Only applicable when include = CUSTOM.
- Parameters:
cityField
- the value to set- Returns:
- this builder
-
regionField
public GeoStatsCommandDescriptor.Builder regionField(AbstractField regionField)
The region field to use.Only applicable when include = CUSTOM.
- Parameters:
regionField
- the value to set- Returns:
- this builder
-
countryField
public GeoStatsCommandDescriptor.Builder countryField(AbstractField countryField)
The country field to use.Only applicable when include = CUSTOM.
- Parameters:
countryField
- the value to set- Returns:
- this builder
-
continentField
public GeoStatsCommandDescriptor.Builder continentField(AbstractField continentField)
The continent field to use.Only applicable when include = CUSTOM.
- Parameters:
continentField
- the value to set- Returns:
- this builder
-
coordinatesField
public GeoStatsCommandDescriptor.Builder coordinatesField(AbstractField coordinatesField)
The coordinates field to use.Only applicable when include = CUSTOM.
- Parameters:
coordinatesField
- the value to set- Returns:
- this builder
-
groupByFields
public GeoStatsCommandDescriptor.Builder groupByFields(List<AbstractField> groupByFields)
Group by fields if specified in the query string.Required if include = CUSTOM.
- Parameters:
groupByFields
- the value to set- Returns:
- this builder
-
functions
public GeoStatsCommandDescriptor.Builder functions(List<FunctionField> functions)
Statistical functions specified in the query string.At least 1 is required for a GEOSTATS command.
- Parameters:
functions
- the value to set- Returns:
- this builder
-
build
public GeoStatsCommandDescriptor build()
-
copy
public GeoStatsCommandDescriptor.Builder copy(GeoStatsCommandDescriptor model)
-
-