public static class GetMetricsQueryOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
GetMetricsQueryOptions |
build()
Builds a GetMetricsQueryOptions.
|
GetMetricsQueryOptions.Builder |
endTime(java.util.Date endTime)
Set the endTime.
|
GetMetricsQueryOptions.Builder |
resultType(java.lang.String resultType)
Set the resultType.
|
GetMetricsQueryOptions.Builder |
startTime(java.util.Date startTime)
Set the startTime.
|
public GetMetricsQueryOptions build()
public GetMetricsQueryOptions.Builder startTime(java.util.Date startTime)
startTime
- the startTimepublic GetMetricsQueryOptions.Builder endTime(java.util.Date endTime)
endTime
- the endTimepublic GetMetricsQueryOptions.Builder resultType(java.lang.String resultType)
resultType
- the resultType