@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateProbeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateProbeRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateProbeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDestination()
The updated IP address for the probe destination.
|
Integer |
getDestinationPort()
The updated port for the probe destination.
|
String |
getMonitorName()
The name of the monitor that the probe was updated for.
|
Integer |
getPacketSize()
he updated packets size for network traffic between the source and destination.
|
String |
getProbeId()
The ID of the probe to update.
|
String |
getProtocol()
The updated network protocol for the destination.
|
String |
getState()
The state of the probe update.
|
int |
hashCode() |
void |
setDestination(String destination)
The updated IP address for the probe destination.
|
void |
setDestinationPort(Integer destinationPort)
The updated port for the probe destination.
|
void |
setMonitorName(String monitorName)
The name of the monitor that the probe was updated for.
|
void |
setPacketSize(Integer packetSize)
he updated packets size for network traffic between the source and destination.
|
void |
setProbeId(String probeId)
The ID of the probe to update.
|
void |
setProtocol(String protocol)
The updated network protocol for the destination.
|
void |
setState(String state)
The state of the probe update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateProbeRequest |
withDestination(String destination)
The updated IP address for the probe destination.
|
UpdateProbeRequest |
withDestinationPort(Integer destinationPort)
The updated port for the probe destination.
|
UpdateProbeRequest |
withMonitorName(String monitorName)
The name of the monitor that the probe was updated for.
|
UpdateProbeRequest |
withPacketSize(Integer packetSize)
he updated packets size for network traffic between the source and destination.
|
UpdateProbeRequest |
withProbeId(String probeId)
The ID of the probe to update.
|
UpdateProbeRequest |
withProtocol(Protocol protocol)
The updated network protocol for the destination.
|
UpdateProbeRequest |
withProtocol(String protocol)
The updated network protocol for the destination.
|
UpdateProbeRequest |
withState(ProbeState state)
The state of the probe update.
|
UpdateProbeRequest |
withState(String state)
The state of the probe update.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMonitorName(String monitorName)
The name of the monitor that the probe was updated for.
monitorName
- The name of the monitor that the probe was updated for.public String getMonitorName()
The name of the monitor that the probe was updated for.
public UpdateProbeRequest withMonitorName(String monitorName)
The name of the monitor that the probe was updated for.
monitorName
- The name of the monitor that the probe was updated for.public void setProbeId(String probeId)
The ID of the probe to update.
probeId
- The ID of the probe to update.public String getProbeId()
The ID of the probe to update.
public UpdateProbeRequest withProbeId(String probeId)
The ID of the probe to update.
probeId
- The ID of the probe to update.public void setState(String state)
The state of the probe update.
state
- The state of the probe update.ProbeState
public String getState()
The state of the probe update.
ProbeState
public UpdateProbeRequest withState(String state)
The state of the probe update.
state
- The state of the probe update.ProbeState
public UpdateProbeRequest withState(ProbeState state)
The state of the probe update.
state
- The state of the probe update.ProbeState
public void setDestination(String destination)
The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.
destination
- The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.public String getDestination()
The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.
public UpdateProbeRequest withDestination(String destination)
The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.
destination
- The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.public void setDestinationPort(Integer destinationPort)
The updated port for the probe destination. This is required only if the protocol
is
TCP
and must be a number between 1
and 65536
.
destinationPort
- The updated port for the probe destination. This is required only if the protocol
is
TCP
and must be a number between 1
and 65536
.public Integer getDestinationPort()
The updated port for the probe destination. This is required only if the protocol
is
TCP
and must be a number between 1
and 65536
.
protocol
is
TCP
and must be a number between 1
and 65536
.public UpdateProbeRequest withDestinationPort(Integer destinationPort)
The updated port for the probe destination. This is required only if the protocol
is
TCP
and must be a number between 1
and 65536
.
destinationPort
- The updated port for the probe destination. This is required only if the protocol
is
TCP
and must be a number between 1
and 65536
.public void setProtocol(String protocol)
The updated network protocol for the destination. This can be either TCP
or ICMP
. If
the protocol is TCP
, then port
is also required.
protocol
- The updated network protocol for the destination. This can be either TCP
or ICMP
. If the protocol is TCP
, then port
is also required.Protocol
public String getProtocol()
The updated network protocol for the destination. This can be either TCP
or ICMP
. If
the protocol is TCP
, then port
is also required.
TCP
or
ICMP
. If the protocol is TCP
, then port
is also required.Protocol
public UpdateProbeRequest withProtocol(String protocol)
The updated network protocol for the destination. This can be either TCP
or ICMP
. If
the protocol is TCP
, then port
is also required.
protocol
- The updated network protocol for the destination. This can be either TCP
or ICMP
. If the protocol is TCP
, then port
is also required.Protocol
public UpdateProbeRequest withProtocol(Protocol protocol)
The updated network protocol for the destination. This can be either TCP
or ICMP
. If
the protocol is TCP
, then port
is also required.
protocol
- The updated network protocol for the destination. This can be either TCP
or ICMP
. If the protocol is TCP
, then port
is also required.Protocol
public void setPacketSize(Integer packetSize)
he updated packets size for network traffic between the source and destination. This must be a number between
56
and 8500
.
packetSize
- he updated packets size for network traffic between the source and destination. This must be a number
between 56
and 8500
.public Integer getPacketSize()
he updated packets size for network traffic between the source and destination. This must be a number between
56
and 8500
.
56
and 8500
.public UpdateProbeRequest withPacketSize(Integer packetSize)
he updated packets size for network traffic between the source and destination. This must be a number between
56
and 8500
.
packetSize
- he updated packets size for network traffic between the source and destination. This must be a number
between 56
and 8500
.public String toString()
toString
in class Object
Object.toString()
public UpdateProbeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()