public class TestPingRequest
extends Object
implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
TestPingRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
TestPingRequest() |
TestPingRequest(Optional<Long> attempts,
Optional<String> hosts,
Optional<Long> totalTimeoutSec,
Optional<Long> packetSize,
Optional<Long> pingTimeoutMsec,
Optional<Boolean> prohibitFragmentation) |
| Modifier and Type | Method and Description |
|---|---|
TestPingRequest.Builder |
asBuilder() |
static TestPingRequest.Builder |
builder() |
boolean |
equals(Object o) |
Optional<Long> |
getAttempts()
Specifies the number of times the system
should repeat the test ping.
|
Optional<String> |
getHosts()
Specifies a comma-separated list of addresses or hostnames of devices to ping.
|
Optional<Long> |
getPacketSize()
Specifies the number of bytes to send in the ICMP packet that is sent to each IP.
|
Optional<Long> |
getPingTimeoutMsec()
Specifies the number of milliseconds to wait for each individual ping response.
|
Optional<Boolean> |
getProhibitFragmentation()
Specifies that the Do not Fragment (DF) flag is enabled for the ICMP packets.
|
Optional<Long> |
getTotalTimeoutSec()
Specifies the length of time the ping should wait for a system response before issuing the next ping attempt or ending the process.
|
int |
hashCode() |
void |
setAttempts(Optional<Long> attempts) |
void |
setHosts(Optional<String> hosts) |
void |
setPacketSize(Optional<Long> packetSize) |
void |
setPingTimeoutMsec(Optional<Long> pingTimeoutMsec) |
void |
setProhibitFragmentation(Optional<Boolean> prohibitFragmentation) |
void |
setTotalTimeoutSec(Optional<Long> totalTimeoutSec) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
public Optional<Long> getAttempts()
public void setAttempts(Optional<Long> attempts)
public Optional<String> getHosts()
public void setHosts(Optional<String> hosts)
public Optional<Long> getTotalTimeoutSec()
public void setTotalTimeoutSec(Optional<Long> totalTimeoutSec)
public Optional<Long> getPacketSize()
public void setPacketSize(Optional<Long> packetSize)
public Optional<Long> getPingTimeoutMsec()
public void setPingTimeoutMsec(Optional<Long> pingTimeoutMsec)
public Optional<Boolean> getProhibitFragmentation()
public void setProhibitFragmentation(Optional<Boolean> prohibitFragmentation)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Map<String,Object> toMap()
public String toString()
toString in class Objectpublic static TestPingRequest.Builder builder()
public final TestPingRequest.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.