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