public static class MonitoredInstanceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonitoredInstanceSummary |
build() |
MonitoredInstanceSummary.Builder |
compartmentId(String compartmentId)
Compartment Identifier
OCID
|
MonitoredInstanceSummary.Builder |
copy(MonitoredInstanceSummary model) |
MonitoredInstanceSummary.Builder |
displayName(String displayName)
A user-friendly name of the monitored instance.
|
MonitoredInstanceSummary.Builder |
instanceId(String instanceId)
The OCID of
monitored instance.
|
MonitoredInstanceSummary.Builder |
lifecycleState(MonitoredInstance.LifecycleState lifecycleState)
The current state of the monitored instance.
|
MonitoredInstanceSummary.Builder |
managementAgentId(String managementAgentId)
Management Agent Identifier
OCID.
|
MonitoredInstanceSummary.Builder |
monitoringState(MonitoredInstance.MonitoringState monitoringState)
Monitoring status.
|
public MonitoredInstanceSummary.Builder instanceId(String instanceId)
The OCID of monitored instance.
instanceId
- the value to setpublic MonitoredInstanceSummary.Builder compartmentId(String compartmentId)
Compartment Identifier OCID
compartmentId
- the value to setpublic MonitoredInstanceSummary.Builder displayName(String displayName)
A user-friendly name of the monitored instance. It is binded to Compute Instance. DisplayName is fetched from Core Service API.
displayName
- the value to setpublic MonitoredInstanceSummary.Builder managementAgentId(String managementAgentId)
Management Agent Identifier OCID.
managementAgentId
- the value to setpublic MonitoredInstanceSummary.Builder lifecycleState(MonitoredInstance.LifecycleState lifecycleState)
The current state of the monitored instance.
lifecycleState
- the value to setpublic MonitoredInstanceSummary.Builder monitoringState(MonitoredInstance.MonitoringState monitoringState)
Monitoring status. Can be either enabled or disabled.
monitoringState
- the value to setpublic MonitoredInstanceSummary build()
public MonitoredInstanceSummary.Builder copy(MonitoredInstanceSummary model)
Copyright © 2016–2024. All rights reserved.