public static class MonitoredResourceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonitoredResourceSummary |
build() |
MonitoredResourceSummary.Builder |
compartmentId(String compartmentId)
Compartment Identifier
OCID.
|
MonitoredResourceSummary.Builder |
copy(MonitoredResourceSummary model) |
MonitoredResourceSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MonitoredResourceSummary.Builder |
displayName(String displayName)
Monitored resource display name.
|
MonitoredResourceSummary.Builder |
externalId(String externalId)
External resource is any OCI resource identifier
OCID which is
not a Stack Monitoring service resource.
|
MonitoredResourceSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
MonitoredResourceSummary.Builder |
hostName(String hostName)
Monitored Resource Host Name.
|
MonitoredResourceSummary.Builder |
id(String id)
Monitored resource identifier
OCID.
|
MonitoredResourceSummary.Builder |
license(LicenseType license)
License edition of the monitored resource.
|
MonitoredResourceSummary.Builder |
lifecycleState(ResourceLifecycleState lifecycleState)
The current state of the monitored resource.
|
MonitoredResourceSummary.Builder |
managementAgentId(String managementAgentId)
Management Agent Identifier
OCID.
|
MonitoredResourceSummary.Builder |
name(String name)
Monitored Resource Name.
|
MonitoredResourceSummary.Builder |
properties(List<MonitoredResourceProperty> properties)
List of monitored resource properties.
|
MonitoredResourceSummary.Builder |
resourceCategory(ResourceCategory resourceCategory)
Resource Category to indicate the kind of resource type.
|
MonitoredResourceSummary.Builder |
sourceType(SourceType sourceType)
Source type to indicate if the resource is stack monitoring discovered, OCI native
resource, etc.
|
MonitoredResourceSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
MonitoredResourceSummary.Builder |
timeCreated(Date timeCreated)
Monitored resource creation time.
|
MonitoredResourceSummary.Builder |
timeUpdated(Date timeUpdated)
Monitored resource update time.
|
MonitoredResourceSummary.Builder |
type(String type)
Monitored Resource Type.
|
public MonitoredResourceSummary.Builder id(String id)
Monitored resource identifier OCID.
id
- the value to setpublic MonitoredResourceSummary.Builder name(String name)
Monitored Resource Name.
name
- the value to setpublic MonitoredResourceSummary.Builder displayName(String displayName)
Monitored resource display name.
displayName
- the value to setpublic MonitoredResourceSummary.Builder type(String type)
Monitored Resource Type.
type
- the value to setpublic MonitoredResourceSummary.Builder compartmentId(String compartmentId)
Compartment Identifier OCID.
compartmentId
- the value to setpublic MonitoredResourceSummary.Builder hostName(String hostName)
Monitored Resource Host Name.
hostName
- the value to setpublic MonitoredResourceSummary.Builder externalId(String externalId)
External resource is any OCI resource identifier OCID which is not a Stack Monitoring service resource.
externalId
- the value to setpublic MonitoredResourceSummary.Builder managementAgentId(String managementAgentId)
Management Agent Identifier OCID.
managementAgentId
- the value to setpublic MonitoredResourceSummary.Builder timeCreated(Date timeCreated)
Monitored resource creation time. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MonitoredResourceSummary.Builder timeUpdated(Date timeUpdated)
Monitored resource update time. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic MonitoredResourceSummary.Builder lifecycleState(ResourceLifecycleState lifecycleState)
The current state of the monitored resource.
lifecycleState
- the value to setpublic MonitoredResourceSummary.Builder properties(List<MonitoredResourceProperty> properties)
List of monitored resource properties.
properties
- the value to setpublic MonitoredResourceSummary.Builder license(LicenseType license)
License edition of the monitored resource.
license
- the value to setpublic MonitoredResourceSummary.Builder sourceType(SourceType sourceType)
Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc.
sourceType
- the value to setpublic MonitoredResourceSummary.Builder resourceCategory(ResourceCategory resourceCategory)
Resource Category to indicate the kind of resource type.
resourceCategory
- the value to setpublic MonitoredResourceSummary.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 MonitoredResourceSummary.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 MonitoredResourceSummary.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 MonitoredResourceSummary build()
public MonitoredResourceSummary.Builder copy(MonitoredResourceSummary model)
Copyright © 2016–2024. All rights reserved.