public static class MonitoredResourceTypeSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonitoredResourceTypeSummary |
build() |
MonitoredResourceTypeSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
tenancy containing the resource type.
|
MonitoredResourceTypeSummary.Builder |
copy(MonitoredResourceTypeSummary model) |
MonitoredResourceTypeSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MonitoredResourceTypeSummary.Builder |
description(String description)
A friendly description.
|
MonitoredResourceTypeSummary.Builder |
displayName(String displayName)
Monitored resource type display name.
|
MonitoredResourceTypeSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
MonitoredResourceTypeSummary.Builder |
id(String id)
Monitored resource type identifier
OCID.
|
MonitoredResourceTypeSummary.Builder |
lifecycleState(ResourceTypeLifecycleState lifecycleState)
Lifecycle state of the monitored resource type.
|
MonitoredResourceTypeSummary.Builder |
metadata(ResourceTypeMetadataDetails metadata) |
MonitoredResourceTypeSummary.Builder |
metricNamespace(String metricNamespace)
Metric namespace for resource type.
|
MonitoredResourceTypeSummary.Builder |
name(String name)
A unique monitored resource type name.
|
MonitoredResourceTypeSummary.Builder |
resourceCategory(ResourceCategory resourceCategory)
Resource Category to indicate the kind of resource type.
|
MonitoredResourceTypeSummary.Builder |
sourceType(SourceType sourceType)
Source type to indicate if the resource is stack monitoring discovered, OCI native
resource, etc.
|
MonitoredResourceTypeSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
MonitoredResourceTypeSummary.Builder |
timeCreated(Date timeCreated)
The date and time when the monitored resource type was created, expressed in RFC
3339 timestamp format.
|
MonitoredResourceTypeSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time when the monitored resource was updated, expressed in RFC
3339 timestamp format.
|
public MonitoredResourceTypeSummary.Builder id(String id)
Monitored resource type identifier OCID.
id
- the value to setpublic MonitoredResourceTypeSummary.Builder name(String name)
A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
name
- the value to setpublic MonitoredResourceTypeSummary.Builder displayName(String displayName)
Monitored resource type display name.
displayName
- the value to setpublic MonitoredResourceTypeSummary.Builder description(String description)
A friendly description.
description
- the value to setpublic MonitoredResourceTypeSummary.Builder metricNamespace(String metricNamespace)
Metric namespace for resource type.
metricNamespace
- the value to setpublic MonitoredResourceTypeSummary.Builder compartmentId(String compartmentId)
The OCID of the tenancy containing the resource type.
compartmentId
- the value to setpublic MonitoredResourceTypeSummary.Builder lifecycleState(ResourceTypeLifecycleState lifecycleState)
Lifecycle state of the monitored resource type.
lifecycleState
- the value to setpublic MonitoredResourceTypeSummary.Builder sourceType(SourceType sourceType)
Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc.
sourceType
- the value to setpublic MonitoredResourceTypeSummary.Builder resourceCategory(ResourceCategory resourceCategory)
Resource Category to indicate the kind of resource type.
resourceCategory
- the value to setpublic MonitoredResourceTypeSummary.Builder metadata(ResourceTypeMetadataDetails metadata)
public MonitoredResourceTypeSummary.Builder timeCreated(Date timeCreated)
The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
timeCreated
- the value to setpublic MonitoredResourceTypeSummary.Builder timeUpdated(Date timeUpdated)
The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
timeUpdated
- the value to setpublic MonitoredResourceTypeSummary.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 MonitoredResourceTypeSummary.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 MonitoredResourceTypeSummary.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 MonitoredResourceTypeSummary build()
public MonitoredResourceTypeSummary.Builder copy(MonitoredResourceTypeSummary model)
Copyright © 2016–2024. All rights reserved.