public static class PingMonitorSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PingMonitorSummary |
build() |
PingMonitorSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
PingMonitorSummary.Builder |
copy(PingMonitorSummary model) |
PingMonitorSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
PingMonitorSummary.Builder |
displayName(String displayName)
A user-friendly and mutable name suitable for display in a user interface.
|
PingMonitorSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
PingMonitorSummary.Builder |
homeRegion(String homeRegion)
The region where updates must be made and where results must be fetched from.
|
PingMonitorSummary.Builder |
id(String id)
The OCID of the resource.
|
PingMonitorSummary.Builder |
intervalInSeconds(Integer intervalInSeconds)
The monitor interval in seconds.
|
PingMonitorSummary.Builder |
isEnabled(Boolean isEnabled)
Enables or disables the monitor.
|
PingMonitorSummary.Builder |
protocol(PingProbeProtocol protocol) |
PingMonitorSummary.Builder |
resultsUrl(String resultsUrl)
A URL for fetching the probe results.
|
PingMonitorSummary.Builder |
timeCreated(Date timeCreated)
The RFC 3339-formatted creation date and time of the probe.
|
public PingMonitorSummary.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic PingMonitorSummary.Builder resultsUrl(String resultsUrl)
A URL for fetching the probe results.
resultsUrl
- the value to setpublic PingMonitorSummary.Builder homeRegion(String homeRegion)
The region where updates must be made and where results must be fetched from.
homeRegion
- the value to setpublic PingMonitorSummary.Builder timeCreated(Date timeCreated)
The RFC 3339-formatted creation date and time of the probe.
timeCreated
- the value to setpublic PingMonitorSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic PingMonitorSummary.Builder displayName(String displayName)
A user-friendly and mutable name suitable for display in a user interface.
displayName
- the value to setpublic PingMonitorSummary.Builder intervalInSeconds(Integer intervalInSeconds)
The monitor interval in seconds. Valid values: 10, 30, and 60.
intervalInSeconds
- the value to setpublic PingMonitorSummary.Builder isEnabled(Boolean isEnabled)
Enables or disables the monitor. Set to ‘true’ to launch monitoring.
isEnabled
- the value to setpublic PingMonitorSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic PingMonitorSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic PingMonitorSummary.Builder protocol(PingProbeProtocol protocol)
public PingMonitorSummary build()
public PingMonitorSummary.Builder copy(PingMonitorSummary model)
Copyright © 2016–2024. All rights reserved.