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