public static class AssociatedResourcesSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public AssociatedResourcesSummary.Builder id(String id)
Monitored resource identifier OCID.
id
- the value to setpublic AssociatedResourcesSummary.Builder name(String name)
Monitored Resource Name.
name
- the value to setpublic AssociatedResourcesSummary.Builder displayName(String displayName)
Monitored resource display name.
displayName
- the value to setpublic AssociatedResourcesSummary.Builder type(String type)
Monitored Resource Type.
type
- the value to setpublic AssociatedResourcesSummary.Builder compartmentId(String compartmentId)
Compartment Identifier OCID.
compartmentId
- the value to setpublic AssociatedResourcesSummary.Builder hostName(String hostName)
Monitored Resource Host Name.
hostName
- the value to setpublic AssociatedResourcesSummary.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 AssociatedResourcesSummary.Builder managementAgentId(String managementAgentId)
Management Agent Identifier OCID.
managementAgentId
- the value to setpublic AssociatedResourcesSummary.Builder lifecycleState(ResourceLifecycleState lifecycleState)
The current state of the monitored resource.
lifecycleState
- the value to setpublic AssociatedResourcesSummary.Builder license(LicenseType license)
License edition of the monitored resource.
license
- the value to setpublic AssociatedResourcesSummary.Builder sourceType(SourceType sourceType)
Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc.
sourceType
- the value to setpublic AssociatedResourcesSummary.Builder resourceCategory(ResourceCategory resourceCategory)
Resource Category to indicate the kind of resource type.
resourceCategory
- the value to setpublic AssociatedResourcesSummary.Builder associatedResources(List<AssociatedMonitoredResource> associatedResources)
List of associated monitored resources.
associatedResources
- the value to setpublic AssociatedResourcesSummary build()
public AssociatedResourcesSummary.Builder copy(AssociatedResourcesSummary model)
Copyright © 2016–2024. All rights reserved.