Class UpdateBaselineableMetricDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.UpdateBaselineableMetricDetails.Builder
-
- Enclosing class:
- UpdateBaselineableMetricDetails
public static class UpdateBaselineableMetricDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public UpdateBaselineableMetricDetails.Builder id(String id)
OCID of the metric- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public UpdateBaselineableMetricDetails.Builder lifecycleState(BaselineableMetricLifeCycleStates lifecycleState)
The current lifecycle state of the metric extension- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
tenancyId
public UpdateBaselineableMetricDetails.Builder tenancyId(String tenancyId)
OCID of the tenancy- Parameters:
tenancyId
- the value to set- Returns:
- this builder
-
compartmentId
public UpdateBaselineableMetricDetails.Builder compartmentId(String compartmentId)
OCID of the compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
name
public UpdateBaselineableMetricDetails.Builder name(String name)
name of the metric- Parameters:
name
- the value to set- Returns:
- this builder
-
column
public UpdateBaselineableMetricDetails.Builder column(String column)
metric column name- Parameters:
column
- the value to set- Returns:
- this builder
-
namespace
public UpdateBaselineableMetricDetails.Builder namespace(String namespace)
namespace of the metric- Parameters:
namespace
- the value to set- Returns:
- this builder
-
resourceGroup
public UpdateBaselineableMetricDetails.Builder resourceGroup(String resourceGroup)
Resource group of the metric- Parameters:
resourceGroup
- the value to set- Returns:
- this builder
-
resourceType
public UpdateBaselineableMetricDetails.Builder resourceType(String resourceType)
Resource type of the metric- Parameters:
resourceType
- the value to set- Returns:
- this builder
-
isOutOfBox
public UpdateBaselineableMetricDetails.Builder isOutOfBox(Boolean isOutOfBox)
Is the metric created out of box, default false- Parameters:
isOutOfBox
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateBaselineableMetricDetails.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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UpdateBaselineableMetricDetails.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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public UpdateBaselineableMetricDetails.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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public UpdateBaselineableMetricDetails build()
-
copy
public UpdateBaselineableMetricDetails.Builder copy(UpdateBaselineableMetricDetails model)
-
-