public static class MonitoredResourceMemberSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public MonitoredResourceMemberSummary.Builder resourceId(String resourceId)
Monitored resource identifier OCID.
resourceId
- the value to setpublic MonitoredResourceMemberSummary.Builder resourceName(String resourceName)
Monitored Resource Name.
resourceName
- the value to setpublic MonitoredResourceMemberSummary.Builder resourceDisplayName(String resourceDisplayName)
Monitored resource display name.
resourceDisplayName
- the value to setpublic MonitoredResourceMemberSummary.Builder resourceType(String resourceType)
Monitored Resource Type.
resourceType
- the value to setpublic MonitoredResourceMemberSummary.Builder hostName(String hostName)
Monitored Resource Host Name.
hostName
- the value to setpublic MonitoredResourceMemberSummary.Builder externalId(String externalId)
External resource is any OCI resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types
externalId
- the value to setpublic MonitoredResourceMemberSummary.Builder compartmentId(String compartmentId)
Compartment Identifier OCID.
compartmentId
- the value to setpublic MonitoredResourceMemberSummary.Builder parentId(String parentId)
Parent monitored resource identifier OCID.
parentId
- the value to setpublic MonitoredResourceMemberSummary.Builder lifecycleState(ResourceLifecycleState lifecycleState)
The current state of the Resource.
lifecycleState
- the value to setpublic MonitoredResourceMemberSummary.Builder license(LicenseType license)
License edition of the monitored resource.
license
- the value to setpublic MonitoredResourceMemberSummary.Builder sourceType(SourceType sourceType)
Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc.
sourceType
- the value to setpublic MonitoredResourceMemberSummary.Builder resourceCategory(ResourceCategory resourceCategory)
Resource Category to indicate the kind of resource type.
resourceCategory
- the value to setpublic MonitoredResourceMemberSummary.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 MonitoredResourceMemberSummary.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 MonitoredResourceMemberSummary.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 MonitoredResourceMemberSummary build()
public MonitoredResourceMemberSummary.Builder copy(MonitoredResourceMemberSummary model)
Copyright © 2016–2024. All rights reserved.