@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMonitorProbeInput extends Object implements Serializable, Cloneable, StructuredPojo
Creates a monitor probe.
Constructor and Description |
---|
CreateMonitorProbeInput() |
Modifier and Type | Method and Description |
---|---|
CreateMonitorProbeInput |
addProbeTagsEntry(String key,
String value)
Add a single ProbeTags entry
|
CreateMonitorProbeInput |
clearProbeTagsEntries()
Removes all the entries added into ProbeTags.
|
CreateMonitorProbeInput |
clone() |
boolean |
equals(Object obj) |
String |
getDestination()
The destination IP address.
|
Integer |
getDestinationPort()
The port associated with the
destination . |
Integer |
getPacketSize()
The size of the packets sent between the source and destination.
|
Map<String,String> |
getProbeTags()
The list of key-value pairs created and assigned to the monitor.
|
String |
getProtocol()
The protocol used for the network traffic between the
source and destination . |
String |
getSourceArn()
The ARN of the subnet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestination(String destination)
The destination IP address.
|
void |
setDestinationPort(Integer destinationPort)
The port associated with the
destination . |
void |
setPacketSize(Integer packetSize)
The size of the packets sent between the source and destination.
|
void |
setProbeTags(Map<String,String> probeTags)
The list of key-value pairs created and assigned to the monitor.
|
void |
setProtocol(String protocol)
The protocol used for the network traffic between the
source and destination . |
void |
setSourceArn(String sourceArn)
The ARN of the subnet.
|
String |
toString()
Returns a string representation of this object.
|
CreateMonitorProbeInput |
withDestination(String destination)
The destination IP address.
|
CreateMonitorProbeInput |
withDestinationPort(Integer destinationPort)
The port associated with the
destination . |
CreateMonitorProbeInput |
withPacketSize(Integer packetSize)
The size of the packets sent between the source and destination.
|
CreateMonitorProbeInput |
withProbeTags(Map<String,String> probeTags)
The list of key-value pairs created and assigned to the monitor.
|
CreateMonitorProbeInput |
withProtocol(Protocol protocol)
The protocol used for the network traffic between the
source and destination . |
CreateMonitorProbeInput |
withProtocol(String protocol)
The protocol used for the network traffic between the
source and destination . |
CreateMonitorProbeInput |
withSourceArn(String sourceArn)
The ARN of the subnet.
|
public void setSourceArn(String sourceArn)
The ARN of the subnet.
sourceArn
- The ARN of the subnet.public String getSourceArn()
The ARN of the subnet.
public CreateMonitorProbeInput withSourceArn(String sourceArn)
The ARN of the subnet.
sourceArn
- The ARN of the subnet.public void setDestination(String destination)
The destination IP address. This must be either IPV4
or IPV6
.
destination
- The destination IP address. This must be either IPV4
or IPV6
.public String getDestination()
The destination IP address. This must be either IPV4
or IPV6
.
IPV4
or IPV6
.public CreateMonitorProbeInput withDestination(String destination)
The destination IP address. This must be either IPV4
or IPV6
.
destination
- The destination IP address. This must be either IPV4
or IPV6
.public void setDestinationPort(Integer destinationPort)
The port associated with the destination
. This is required only if the protocol
is
TCP
and must be a number between 1
and 65536
.
destinationPort
- The port associated with the destination
. This is required only if the protocol
is TCP
and must be a number between 1
and 65536
.public Integer getDestinationPort()
The port associated with the destination
. This is required only if the protocol
is
TCP
and must be a number between 1
and 65536
.
destination
. This is required only if the protocol
is TCP
and must be a number between 1
and 65536
.public CreateMonitorProbeInput withDestinationPort(Integer destinationPort)
The port associated with the destination
. This is required only if the protocol
is
TCP
and must be a number between 1
and 65536
.
destinationPort
- The port associated with the 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 protocol used for the network traffic between the source
and destination
. This must
be either TCP
or ICMP
.
protocol
- The protocol used for the network traffic between the source
and destination
.
This must be either TCP
or ICMP
.Protocol
public String getProtocol()
The protocol used for the network traffic between the source
and destination
. This must
be either TCP
or ICMP
.
source
and destination
.
This must be either TCP
or ICMP
.Protocol
public CreateMonitorProbeInput withProtocol(String protocol)
The protocol used for the network traffic between the source
and destination
. This must
be either TCP
or ICMP
.
protocol
- The protocol used for the network traffic between the source
and destination
.
This must be either TCP
or ICMP
.Protocol
public CreateMonitorProbeInput withProtocol(Protocol protocol)
The protocol used for the network traffic between the source
and destination
. This must
be either TCP
or ICMP
.
protocol
- The protocol used for the network traffic between the source
and destination
.
This must be either TCP
or ICMP
.Protocol
public void setPacketSize(Integer packetSize)
The size of the packets sent between the source and destination. This must be a number between 56
and 8500
.
packetSize
- The size of the packets sent between the source and destination. This must be a number between
56
and 8500
.public Integer getPacketSize()
The size of the packets sent between the source and destination. This must be a number between 56
and 8500
.
56
and 8500
.public CreateMonitorProbeInput withPacketSize(Integer packetSize)
The size of the packets sent between the source and destination. This must be a number between 56
and 8500
.
packetSize
- The size of the packets sent between the source and destination. This must be a number between
56
and 8500
.public Map<String,String> getProbeTags()
The list of key-value pairs created and assigned to the monitor.
public void setProbeTags(Map<String,String> probeTags)
The list of key-value pairs created and assigned to the monitor.
probeTags
- The list of key-value pairs created and assigned to the monitor.public CreateMonitorProbeInput withProbeTags(Map<String,String> probeTags)
The list of key-value pairs created and assigned to the monitor.
probeTags
- The list of key-value pairs created and assigned to the monitor.public CreateMonitorProbeInput addProbeTagsEntry(String key, String value)
public CreateMonitorProbeInput clearProbeTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateMonitorProbeInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.