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