public static class MonitoredResourceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonitoredResourceDetails |
build() |
MonitoredResourceDetails.Builder |
copy(MonitoredResourceDetails model) |
MonitoredResourceDetails.Builder |
name(String name)
Name of the monitored resource
|
MonitoredResourceDetails.Builder |
numberOfMembers(Integer numberOfMembers)
Number of members of the resource
|
MonitoredResourceDetails.Builder |
resourceId(String resourceId)
The OCID of
monitored resource part of the Maintenance window.
|
MonitoredResourceDetails.Builder |
type(String type)
Type of the monitored resource
|
public MonitoredResourceDetails.Builder resourceId(String resourceId)
The OCID of monitored resource part of the Maintenance window.
resourceId
- the value to setpublic MonitoredResourceDetails.Builder name(String name)
Name of the monitored resource
name
- the value to setpublic MonitoredResourceDetails.Builder type(String type)
Type of the monitored resource
type
- the value to setpublic MonitoredResourceDetails.Builder numberOfMembers(Integer numberOfMembers)
Number of members of the resource
numberOfMembers
- the value to setpublic MonitoredResourceDetails build()
public MonitoredResourceDetails.Builder copy(MonitoredResourceDetails model)
Copyright © 2016–2024. All rights reserved.