Class MonitorSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.apmsynthetics.model.MonitorSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class MonitorSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelInformation about the monitor.
 Note: Objects should always be created or deserialized using theMonitorSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theMonitorSummary.Builder, which maintain a set of all explicitly set fields calledMonitorSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMonitorSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description MonitorSummary(String id, String displayName, MonitorTypes monitorType, List<VantagePointInfo> vantagePoints, Integer vantagePointCount, String scriptId, String scriptName, MonitorStatus status, Integer repeatIntervalInSeconds, Boolean isRunOnce, Integer timeoutInSeconds, String target, MonitorConfiguration configuration, MaintenanceWindowSchedule maintenanceWindowSchedule, Date timeCreated, Date timeUpdated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Boolean isRunNow, SchedulingPolicy schedulingPolicy, Integer batchIntervalInSeconds, Boolean isIPv6, String createdBy, String lastUpdatedBy)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MonitorSummary.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetBatchIntervalInSeconds()Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN).MonitorConfigurationgetConfiguration()StringgetCreatedBy()Name of the user that created the monitor.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()Unique name that can be edited.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetId()The OCID of the monitor.BooleangetIsIPv6()If enabled, domain name will resolve to an IPv6 address.BooleangetIsRunNow()If isRunNow is enabled, then the monitor will run immediately.BooleangetIsRunOnce()If runOnce is enabled, then the monitor will run once.StringgetLastUpdatedBy()Name of the user that recently updated the monitor.MaintenanceWindowSchedulegetMaintenanceWindowSchedule()MonitorTypesgetMonitorType()The type of monitor.IntegergetRepeatIntervalInSeconds()Interval in seconds after the start time when the job should be repeated.SchedulingPolicygetSchedulingPolicy()Scheduling policy to decide the distribution of monitor executions on vantage points.StringgetScriptId()The OCID of the script.StringgetScriptName()Name of the script.MonitorStatusgetStatus()Enables or disables the monitor.StringgetTarget()Specify the endpoint on which to run the monitor.DategetTimeCreated()The time the resource was created, expressed in RFC 3339 timestamp format.IntegergetTimeoutInSeconds()Timeout in seconds.DategetTimeUpdated()The time the resource was updated, expressed in RFC 3339 timestamp format.IntegergetVantagePointCount()Number of vantage points where monitor is running.List<VantagePointInfo>getVantagePoints()List of public, dedicated and onPremise vantage points where the monitor is running.inthashCode()MonitorSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
MonitorSummary@Deprecated @ConstructorProperties({"id","displayName","monitorType","vantagePoints","vantagePointCount","scriptId","scriptName","status","repeatIntervalInSeconds","isRunOnce","timeoutInSeconds","target","configuration","maintenanceWindowSchedule","timeCreated","timeUpdated","freeformTags","definedTags","isRunNow","schedulingPolicy","batchIntervalInSeconds","isIPv6","createdBy","lastUpdatedBy"}) public MonitorSummary(String id, String displayName, MonitorTypes monitorType, List<VantagePointInfo> vantagePoints, Integer vantagePointCount, String scriptId, String scriptName, MonitorStatus status, Integer repeatIntervalInSeconds, Boolean isRunOnce, Integer timeoutInSeconds, String target, MonitorConfiguration configuration, MaintenanceWindowSchedule maintenanceWindowSchedule, Date timeCreated, Date timeUpdated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Boolean isRunNow, SchedulingPolicy schedulingPolicy, Integer batchIntervalInSeconds, Boolean isIPv6, String createdBy, String lastUpdatedBy) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static MonitorSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic MonitorSummary.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() Unique name that can be edited.The name should not contain any confidential information. - Returns:
- the value
 
 - 
getMonitorTypepublic MonitorTypes getMonitorType() The type of monitor.- Returns:
- the value
 
 - 
getVantagePointspublic List<VantagePointInfo> getVantagePoints() List of public, dedicated and onPremise vantage points where the monitor is running.- Returns:
- the value
 
 - 
getVantagePointCountpublic Integer getVantagePointCount() Number of vantage points where monitor is running.- Returns:
- the value
 
 - 
getScriptIdpublic String getScriptId() The OCID of the script.scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. - Returns:
- the value
 
 - 
getScriptNamepublic String getScriptName() Name of the script.- Returns:
- the value
 
 - 
getStatuspublic MonitorStatus getStatus() Enables or disables the monitor.- Returns:
- the value
 
 - 
getRepeatIntervalInSecondspublic Integer getRepeatIntervalInSeconds() Interval in seconds after the start time when the job should be repeated.Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor. - Returns:
- the value
 
 - 
getIsRunOncepublic Boolean getIsRunOnce() If runOnce is enabled, then the monitor will run once.- Returns:
- the value
 
 - 
getTimeoutInSecondspublic Integer getTimeoutInSeconds() Timeout in seconds.If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that. - Returns:
- the value
 
 - 
getTargetpublic String getTarget() Specify the endpoint on which to run the monitor.For BROWSER, REST, NETWORK, DNS and FTP monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80. - Returns:
- the value
 
 - 
getConfigurationpublic MonitorConfiguration getConfiguration() 
 - 
getMaintenanceWindowSchedulepublic MaintenanceWindowSchedule getMaintenanceWindowSchedule() 
 - 
getTimeCreatedpublic Date getTimeCreated() The time the resource was created, expressed in RFC 3339 timestamp format.Example: 2020-02-12T22:47:12.613Z - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The time the resource was updated, expressed in RFC 3339 timestamp format.Example: 2020-02-13T22:47:12.613Z - Returns:
- the value
 
 - 
getFreeformTagspublic Map<String,String> getFreeformTags() Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Returns:
- the value
 
 - 
getDefinedTagspublic Map<String,Map<String,Object>> getDefinedTags() Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Returns:
- the value
 
 - 
getIsRunNowpublic Boolean getIsRunNow() If isRunNow is enabled, then the monitor will run immediately.- Returns:
- the value
 
 - 
getSchedulingPolicypublic SchedulingPolicy getSchedulingPolicy() Scheduling policy to decide the distribution of monitor executions on vantage points.- Returns:
- the value
 
 - 
getBatchIntervalInSecondspublic Integer getBatchIntervalInSeconds() Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN).- Returns:
- the value
 
 - 
getIsIPv6public Boolean getIsIPv6() If enabled, domain name will resolve to an IPv6 address.- Returns:
- the value
 
 - 
getCreatedBypublic String getCreatedBy() Name of the user that created the monitor.- Returns:
- the value
 
 - 
getLastUpdatedBypublic String getLastUpdatedBy() Name of the user that recently updated the monitor.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-