public class ConnectionMonitorParameters extends Object
| Constructor and Description |
|---|
ConnectionMonitorParameters() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoStart()
Get determines if the connection monitor will start automatically once created.
|
ConnectionMonitorDestination |
destination()
Get describes the destination of connection monitor.
|
Integer |
monitoringIntervalInSeconds()
Get monitoring interval in seconds.
|
ConnectionMonitorSource |
source()
Get describes the source of connection monitor.
|
ConnectionMonitorParameters |
withAutoStart(Boolean autoStart)
Set determines if the connection monitor will start automatically once created.
|
ConnectionMonitorParameters |
withDestination(ConnectionMonitorDestination destination)
Set describes the destination of connection monitor.
|
ConnectionMonitorParameters |
withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set monitoring interval in seconds.
|
ConnectionMonitorParameters |
withSource(ConnectionMonitorSource source)
Set describes the source of connection monitor.
|
public ConnectionMonitorSource source()
public ConnectionMonitorParameters withSource(ConnectionMonitorSource source)
source - the source value to setpublic ConnectionMonitorDestination destination()
public ConnectionMonitorParameters withDestination(ConnectionMonitorDestination destination)
destination - the destination value to setpublic Boolean autoStart()
public ConnectionMonitorParameters withAutoStart(Boolean autoStart)
autoStart - the autoStart value to setpublic Integer monitoringIntervalInSeconds()
public ConnectionMonitorParameters withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
monitoringIntervalInSeconds - the monitoringIntervalInSeconds value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/