public class TestPingRequest
extends java.lang.Object
implements java.io.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<java.lang.Long> attempts,
Optional<java.lang.String> hosts,
Optional<java.lang.Long> totalTimeoutSec,
Optional<java.lang.Long> packetSize,
Optional<java.lang.Long> pingTimeoutMsec,
Optional<java.lang.Boolean> prohibitFragmentation,
Optional<java.lang.String> sourceAddressV4,
Optional<java.lang.String> sourceAddressV6,
Optional<java.lang.String> iface,
Optional<java.lang.Long> virtualNetworkTag) |
Modifier and Type | Method and Description |
---|---|
TestPingRequest.Builder |
asBuilder() |
static TestPingRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.Long> |
getAttempts()
Specifies the number of times the system
should repeat the test ping.
|
Optional<java.lang.String> |
getHosts()
Specifies a comma-separated list of addresses or hostnames of devices to ping.
|
Optional<java.lang.String> |
getIface()
Existing interface on which the temporary vlan interface is created
|
Optional<java.lang.Long> |
getPacketSize()
Specifies the number of bytes to send in the ICMP packet that is sent to each IP.
|
Optional<java.lang.Long> |
getPingTimeoutMsec()
Specifies the number of milliseconds to wait for each individual ping response.
|
Optional<java.lang.Boolean> |
getProhibitFragmentation()
Specifies that the Do not Fragment (DF) flag is enabled for the ICMP packets.
|
Optional<java.lang.String> |
getSourceAddressV4()
The ipv4 source address to be used in the ICMP ping packets
sourceAddressV4 or sourceAddressV6 is required
|
Optional<java.lang.String> |
getSourceAddressV6()
The ipv6 source address to be used in the ICMP ping packets
sourceAddressV4 or sourceAddressV6 is required
|
Optional<java.lang.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.
|
Optional<java.lang.Long> |
getVirtualNetworkTag()
VLAN on which host addresses reachability needs to be tested
The temporary vlan interface is created with this tag
|
int |
hashCode() |
void |
setAttempts(Optional<java.lang.Long> attempts) |
void |
setHosts(Optional<java.lang.String> hosts) |
void |
setIface(Optional<java.lang.String> iface) |
void |
setPacketSize(Optional<java.lang.Long> packetSize) |
void |
setPingTimeoutMsec(Optional<java.lang.Long> pingTimeoutMsec) |
void |
setProhibitFragmentation(Optional<java.lang.Boolean> prohibitFragmentation) |
void |
setSourceAddressV4(Optional<java.lang.String> sourceAddressV4) |
void |
setSourceAddressV6(Optional<java.lang.String> sourceAddressV6) |
void |
setTotalTimeoutSec(Optional<java.lang.Long> totalTimeoutSec) |
void |
setVirtualNetworkTag(Optional<java.lang.Long> virtualNetworkTag) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public TestPingRequest(Optional<java.lang.Long> attempts, Optional<java.lang.String> hosts, Optional<java.lang.Long> totalTimeoutSec, Optional<java.lang.Long> packetSize, Optional<java.lang.Long> pingTimeoutMsec, Optional<java.lang.Boolean> prohibitFragmentation, Optional<java.lang.String> sourceAddressV4, Optional<java.lang.String> sourceAddressV6, Optional<java.lang.String> iface, Optional<java.lang.Long> virtualNetworkTag)
public Optional<java.lang.Long> getAttempts()
public void setAttempts(Optional<java.lang.Long> attempts)
public Optional<java.lang.String> getHosts()
public void setHosts(Optional<java.lang.String> hosts)
public Optional<java.lang.Long> getTotalTimeoutSec()
public void setTotalTimeoutSec(Optional<java.lang.Long> totalTimeoutSec)
public Optional<java.lang.Long> getPacketSize()
public void setPacketSize(Optional<java.lang.Long> packetSize)
public Optional<java.lang.Long> getPingTimeoutMsec()
public void setPingTimeoutMsec(Optional<java.lang.Long> pingTimeoutMsec)
public Optional<java.lang.Boolean> getProhibitFragmentation()
public void setProhibitFragmentation(Optional<java.lang.Boolean> prohibitFragmentation)
public Optional<java.lang.String> getSourceAddressV4()
public void setSourceAddressV4(Optional<java.lang.String> sourceAddressV4)
public Optional<java.lang.String> getSourceAddressV6()
public void setSourceAddressV6(Optional<java.lang.String> sourceAddressV6)
public Optional<java.lang.String> getIface()
public void setIface(Optional<java.lang.String> iface)
public Optional<java.lang.Long> getVirtualNetworkTag()
public void setVirtualNetworkTag(Optional<java.lang.Long> virtualNetworkTag)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static TestPingRequest.Builder builder()
public final TestPingRequest.Builder asBuilder()