Class GetMetricsQueryEventOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.GetMetricsQueryEventOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetMetricsQueryEventOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The getMetricsQueryEvent options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetMetricsQueryEventOptions.Builder
Builder.static interface
GetMetricsQueryEventOptions.ResultType
The type of result to consider when calculating the metric. -
Method Summary
Modifier and Type Method Description Date
endTime()
Gets the endTime.GetMetricsQueryEventOptions.Builder
newBuilder()
New builder.String
resultType()
Gets the resultType.Date
startTime()
Gets the startTime.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a GetMetricsQueryEventOptions builder
-
startTime
Gets the startTime.Metric is computed from data recorded after this timestamp; must be in `YYYY-MM-DDThh:mm:ssZ` format.
- Returns:
- the startTime
-
endTime
Gets the endTime.Metric is computed from data recorded before this timestamp; must be in `YYYY-MM-DDThh:mm:ssZ` format.
- Returns:
- the endTime
-
resultType
Gets the resultType.The type of result to consider when calculating the metric.
- Returns:
- the resultType
-