public static class GetMetricsQueryEventOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and 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.
|
public GetMetricsQueryEventOptions build()
public GetMetricsQueryEventOptions.Builder startTime(Date startTime)
startTime
- the startTimepublic GetMetricsQueryEventOptions.Builder endTime(Date endTime)
endTime
- the endTimepublic GetMetricsQueryEventOptions.Builder resultType(String resultType)
resultType
- the resultTypeCopyright © 2022 IBM Cloud. All rights reserved.