public static class CreateMetricExtensionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateMetricExtensionDetails.Builder name(String name)
Metric Extension Resource name.
name
- the value to setpublic CreateMetricExtensionDetails.Builder displayName(String displayName)
Metric Extension display name.
displayName
- the value to setpublic CreateMetricExtensionDetails.Builder resourceType(String resourceType)
Resource type to which Metric Extension applies
resourceType
- the value to setpublic CreateMetricExtensionDetails.Builder compartmentId(String compartmentId)
Compartment Identifier OCID
compartmentId
- the value to setpublic CreateMetricExtensionDetails.Builder description(String description)
Description of the metric extension.
description
- the value to setpublic CreateMetricExtensionDetails.Builder collectionRecurrences(String collectionRecurrences)
Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = “FREQ”;INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are “MINUTELY”,“HOURLY”,“DAILY” to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
collectionRecurrences
- the value to setpublic CreateMetricExtensionDetails.Builder metricList(List<Metric> metricList)
List of metrics which are part of this metric extension
metricList
- the value to setpublic CreateMetricExtensionDetails.Builder queryProperties(MetricExtensionQueryProperties queryProperties)
public CreateMetricExtensionDetails build()
public CreateMetricExtensionDetails.Builder copy(CreateMetricExtensionDetails model)
Copyright © 2016–2024. All rights reserved.