public static class BaselineableMetric.Builder extends Object
Constructor and Description |
---|
Builder() |
public BaselineableMetric.Builder id(String id)
OCID of the metric
id
- the value to setpublic BaselineableMetric.Builder lifecycleState(BaselineableMetricLifeCycleStates lifecycleState)
The current lifecycle state of the metric extension
lifecycleState
- the value to setpublic BaselineableMetric.Builder tenancyId(String tenancyId)
OCID of the tenancy
tenancyId
- the value to setpublic BaselineableMetric.Builder compartmentId(String compartmentId)
OCID of the compartment
compartmentId
- the value to setpublic BaselineableMetric.Builder name(String name)
name of the metric
name
- the value to setpublic BaselineableMetric.Builder column(String column)
metric column name
column
- the value to setpublic BaselineableMetric.Builder namespace(String namespace)
namespace of the metric
namespace
- the value to setpublic BaselineableMetric.Builder resourceGroup(String resourceGroup)
Resource group of the metric
resourceGroup
- the value to setpublic BaselineableMetric.Builder resourceType(String resourceType)
Resource type of the metric
resourceType
- the value to setpublic BaselineableMetric.Builder isOutOfBox(Boolean isOutOfBox)
Is the metric created out of box, default false
isOutOfBox
- the value to setpublic BaselineableMetric.Builder createdBy(String createdBy)
Created user id
createdBy
- the value to setpublic BaselineableMetric.Builder lastUpdatedBy(String lastUpdatedBy)
last Updated user id
lastUpdatedBy
- the value to setpublic BaselineableMetric.Builder timeCreated(Date timeCreated)
creation date
timeCreated
- the value to setpublic BaselineableMetric.Builder timeLastUpdated(Date timeLastUpdated)
last updated time
timeLastUpdated
- the value to setpublic BaselineableMetric.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 BaselineableMetric.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 BaselineableMetric.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 BaselineableMetric build()
public BaselineableMetric.Builder copy(BaselineableMetric model)
Copyright © 2016–2024. All rights reserved.