Class GetMetricsQueryNoResultsOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.GetMetricsQueryNoResultsOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetMetricsQueryNoResultsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The getMetricsQueryNoResults options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetMetricsQueryNoResultsOptions.Builder
Builder.static interface
GetMetricsQueryNoResultsOptions.ResultType
The type of result to consider when calculating the metric. -
Method Summary
Modifier and Type Method Description Date
endTime()
Gets the endTime.GetMetricsQueryNoResultsOptions.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 GetMetricsQueryNoResultsOptions 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
-