public static class BaselineableMetricSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public BaselineableMetricSummary.Builder id(String id)
OCID of the metric
id
- the value to setpublic BaselineableMetricSummary.Builder lifecycleState(BaselineableMetricLifeCycleStates lifecycleState)
The current lifecycle state of the metric extension
lifecycleState
- the value to setpublic BaselineableMetricSummary.Builder tenancyId(String tenancyId)
OCID of the tenancy
tenancyId
- the value to setpublic BaselineableMetricSummary.Builder compartmentId(String compartmentId)
OCID of the compartment
compartmentId
- the value to setpublic BaselineableMetricSummary.Builder name(String name)
name of the metric
name
- the value to setpublic BaselineableMetricSummary.Builder column(String column)
metric column name
column
- the value to setpublic BaselineableMetricSummary.Builder namespace(String namespace)
namespace of the metric
namespace
- the value to setpublic BaselineableMetricSummary.Builder resourceGroup(String resourceGroup)
Resource group of the metric
resourceGroup
- the value to setpublic BaselineableMetricSummary.Builder resourceType(String resourceType)
Resource type of the metric
resourceType
- the value to setpublic BaselineableMetricSummary.Builder isOutOfBox(Boolean isOutOfBox)
Is the metric created out of box, default false
isOutOfBox
- the value to setpublic BaselineableMetricSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic BaselineableMetricSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic BaselineableMetricSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic BaselineableMetricSummary build()
public BaselineableMetricSummary.Builder copy(BaselineableMetricSummary model)
Copyright © 2016–2024. All rights reserved.