public class GetMetricsQueryEventOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
GetMetricsQueryEventOptions.Builder
Builder.
|
static interface |
GetMetricsQueryEventOptions.ResultType
The type of result to consider when calculating the metric.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
endTime |
protected java.lang.String |
resultType |
protected java.util.Date |
startTime |
Modifier | Constructor and Description |
---|---|
protected |
GetMetricsQueryEventOptions(GetMetricsQueryEventOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
endTime()
Gets the endTime.
|
GetMetricsQueryEventOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
resultType()
Gets the resultType.
|
java.util.Date |
startTime()
Gets the startTime.
|
protected java.util.Date startTime
protected java.util.Date endTime
protected java.lang.String resultType
protected GetMetricsQueryEventOptions(GetMetricsQueryEventOptions.Builder builder)
public GetMetricsQueryEventOptions.Builder newBuilder()
public java.util.Date startTime()
Metric is computed from data recorded after this timestamp; must be in `YYYY-MM-DDThh:mm:ssZ` format.
public java.util.Date endTime()
Metric is computed from data recorded before this timestamp; must be in `YYYY-MM-DDThh:mm:ssZ` format.
public java.lang.String resultType()
The type of result to consider when calculating the metric.