Class GetMetricsQueryNoResultsOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.GetMetricsQueryNoResultsOptions.Builder
- Enclosing class:
- GetMetricsQueryNoResultsOptions
public static class GetMetricsQueryNoResultsOptions.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description GetMetricsQueryNoResultsOptions
build()
Builds a GetMetricsQueryNoResultsOptions.GetMetricsQueryNoResultsOptions.Builder
endTime(Date endTime)
Set the endTime.GetMetricsQueryNoResultsOptions.Builder
resultType(String resultType)
Set the resultType.GetMetricsQueryNoResultsOptions.Builder
startTime(Date startTime)
Set the startTime.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a GetMetricsQueryNoResultsOptions.- Returns:
- the new GetMetricsQueryNoResultsOptions instance
-
startTime
Set the startTime.- Parameters:
startTime
- the startTime- Returns:
- the GetMetricsQueryNoResultsOptions builder
-
endTime
Set the endTime.- Parameters:
endTime
- the endTime- Returns:
- the GetMetricsQueryNoResultsOptions builder
-
resultType
Set the resultType.- Parameters:
resultType
- the resultType- Returns:
- the GetMetricsQueryNoResultsOptions builder
-