@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProbeInput extends Object implements Serializable, Cloneable, StructuredPojo
Defines a probe when creating a probe or monitor.
| Constructor and Description |
|---|
ProbeInput() |
| Modifier and Type | Method and Description |
|---|---|
ProbeInput |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ProbeInput |
clearTagsEntries()
Removes all the entries added into Tags.
|
ProbeInput |
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.
|
String |
getProtocol()
The protocol used for the network traffic between the
source and destination. |
String |
getSourceArn()
The ARN of the subnet.
|
Map<String,String> |
getTags()
The list of key-value pairs created and assigned to the monitor.
|
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 |
setProtocol(String protocol)
The protocol used for the network traffic between the
source and destination. |
void |
setSourceArn(String sourceArn)
The ARN of the subnet.
|
void |
setTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the monitor.
|
String |
toString()
Returns a string representation of this object.
|
ProbeInput |
withDestination(String destination)
The destination IP address.
|
ProbeInput |
withDestinationPort(Integer destinationPort)
The port associated with the
destination. |
ProbeInput |
withPacketSize(Integer packetSize)
The size of the packets sent between the source and destination.
|
ProbeInput |
withProtocol(Protocol protocol)
The protocol used for the network traffic between the
source and destination. |
ProbeInput |
withProtocol(String protocol)
The protocol used for the network traffic between the
source and destination. |
ProbeInput |
withSourceArn(String sourceArn)
The ARN of the subnet.
|
ProbeInput |
withTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the monitor.
|
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 ProbeInput 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 ProbeInput 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 ProbeInput 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.Protocolpublic 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.Protocolpublic ProbeInput 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.Protocolpublic ProbeInput 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.Protocolpublic 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 ProbeInput 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> getTags()
The list of key-value pairs created and assigned to the monitor.
public void setTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the monitor.
tags - The list of key-value pairs created and assigned to the monitor.public ProbeInput withTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the monitor.
tags - The list of key-value pairs created and assigned to the monitor.public ProbeInput addTagsEntry(String key, String value)
public ProbeInput clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public ProbeInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.