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.
  • Method Details

    • newBuilder

      New builder.
      Returns:
      a GetMetricsQueryNoResultsOptions builder
    • startTime

      public Date 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

      public Date 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

      public String resultType()
      Gets the resultType.

      The type of result to consider when calculating the metric.

      Returns:
      the resultType