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 Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description GetMetricsQueryOptions
build()
Builds a GetMetricsQueryOptions.GetMetricsQueryOptions.Builder
endTime(Date endTime)
Set the endTime.GetMetricsQueryOptions.Builder
resultType(String resultType)
Set the resultType.GetMetricsQueryOptions.Builder
startTime(Date startTime)
Set the startTime.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a GetMetricsQueryOptions.- Returns:
- the new GetMetricsQueryOptions instance
-
startTime
Set the startTime.- Parameters:
startTime
- the startTime- Returns:
- the GetMetricsQueryOptions builder
-
endTime
Set the endTime.- Parameters:
endTime
- the endTime- Returns:
- the GetMetricsQueryOptions builder
-
resultType
Set the resultType.- Parameters:
resultType
- the resultType- Returns:
- the GetMetricsQueryOptions builder
-