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