Class GetMetricsQueryOptions.Builder

java.lang.Object
com.ibm.watson.discovery.v1.model.GetMetricsQueryOptions.Builder
Enclosing class:
GetMetricsQueryOptions

public static class GetMetricsQueryOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public GetMetricsQueryOptions build()
      Builds a GetMetricsQueryOptions.
      Returns:
      the new GetMetricsQueryOptions instance
    • startTime

      public GetMetricsQueryOptions.Builder startTime​(Date startTime)
      Set the startTime.
      Parameters:
      startTime - the startTime
      Returns:
      the GetMetricsQueryOptions builder
    • endTime

      public GetMetricsQueryOptions.Builder endTime​(Date endTime)
      Set the endTime.
      Parameters:
      endTime - the endTime
      Returns:
      the GetMetricsQueryOptions builder
    • resultType

      public GetMetricsQueryOptions.Builder resultType​(String resultType)
      Set the resultType.
      Parameters:
      resultType - the resultType
      Returns:
      the GetMetricsQueryOptions builder