@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Probe extends Object implements Serializable, Cloneable, StructuredPojo
Describes information about a network monitor probe.
| Constructor and Description |
|---|
Probe() |
| Modifier and Type | Method and Description |
|---|---|
Probe |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Probe |
clearTagsEntries()
Removes all the entries added into Tags.
|
Probe |
clone() |
boolean |
equals(Object obj) |
String |
getAddressFamily()
The IPv4 or IPv6 address for the probe.
|
Date |
getCreatedAt()
The time and date the probe was created.
|
String |
getDestination()
The destination for the probe.
|
Integer |
getDestinationPort()
The destination port for the probe.
|
Date |
getModifiedAt()
The time and date that the probe was last modified.
|
Integer |
getPacketSize()
The size of the packets traveling between the
source and destination. |
String |
getProbeArn()
The ARN of the probe.
|
String |
getProbeId()
The ID of the probe.
|
String |
getProtocol()
The network protocol for the destination.
|
String |
getSourceArn()
The ARN of the probe source subnet.
|
String |
getState()
The state of the probe.
|
Map<String,String> |
getTags()
The list of key-value pairs created and assigned to the probe.
|
String |
getVpcId()
The ID of the source VPC subnet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAddressFamily(String addressFamily)
The IPv4 or IPv6 address for the probe.
|
void |
setCreatedAt(Date createdAt)
The time and date the probe was created.
|
void |
setDestination(String destination)
The destination for the probe.
|
void |
setDestinationPort(Integer destinationPort)
The destination port for the probe.
|
void |
setModifiedAt(Date modifiedAt)
The time and date that the probe was last modified.
|
void |
setPacketSize(Integer packetSize)
The size of the packets traveling between the
source and destination. |
void |
setProbeArn(String probeArn)
The ARN of the probe.
|
void |
setProbeId(String probeId)
The ID of the probe.
|
void |
setProtocol(String protocol)
The network protocol for the destination.
|
void |
setSourceArn(String sourceArn)
The ARN of the probe source subnet.
|
void |
setState(String state)
The state of the probe.
|
void |
setTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the probe.
|
void |
setVpcId(String vpcId)
The ID of the source VPC subnet.
|
String |
toString()
Returns a string representation of this object.
|
Probe |
withAddressFamily(AddressFamily addressFamily)
The IPv4 or IPv6 address for the probe.
|
Probe |
withAddressFamily(String addressFamily)
The IPv4 or IPv6 address for the probe.
|
Probe |
withCreatedAt(Date createdAt)
The time and date the probe was created.
|
Probe |
withDestination(String destination)
The destination for the probe.
|
Probe |
withDestinationPort(Integer destinationPort)
The destination port for the probe.
|
Probe |
withModifiedAt(Date modifiedAt)
The time and date that the probe was last modified.
|
Probe |
withPacketSize(Integer packetSize)
The size of the packets traveling between the
source and destination. |
Probe |
withProbeArn(String probeArn)
The ARN of the probe.
|
Probe |
withProbeId(String probeId)
The ID of the probe.
|
Probe |
withProtocol(Protocol protocol)
The network protocol for the destination.
|
Probe |
withProtocol(String protocol)
The network protocol for the destination.
|
Probe |
withSourceArn(String sourceArn)
The ARN of the probe source subnet.
|
Probe |
withState(ProbeState state)
The state of the probe.
|
Probe |
withState(String state)
The state of the probe.
|
Probe |
withTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the probe.
|
Probe |
withVpcId(String vpcId)
The ID of the source VPC subnet.
|
public void setProbeId(String probeId)
The ID of the probe.
probeId - The ID of the probe.public String getProbeId()
The ID of the probe.
public Probe withProbeId(String probeId)
The ID of the probe.
probeId - The ID of the probe.public void setProbeArn(String probeArn)
The ARN of the probe.
probeArn - The ARN of the probe.public String getProbeArn()
The ARN of the probe.
public Probe withProbeArn(String probeArn)
The ARN of the probe.
probeArn - The ARN of the probe.public void setSourceArn(String sourceArn)
The ARN of the probe source subnet.
sourceArn - The ARN of the probe source subnet.public String getSourceArn()
The ARN of the probe source subnet.
public Probe withSourceArn(String sourceArn)
The ARN of the probe source subnet.
sourceArn - The ARN of the probe source subnet.public void setDestination(String destination)
The destination for the probe. This should be either an IPV4 or IPV6.
destination - The destination for the probe. This should be either an IPV4 or IPV6.public String getDestination()
The destination for the probe. This should be either an IPV4 or IPV6.
IPV4 or IPV6.public Probe withDestination(String destination)
The destination for the probe. This should be either an IPV4 or IPV6.
destination - The destination for the probe. This should be either an IPV4 or IPV6.public void setDestinationPort(Integer destinationPort)
The destination port for the probe. This is required only if the protocol is TCP and
must be a number between 1 and 65536.
destinationPort - The destination port for the probe. This is required only if the protocol is TCP
and must be a number between 1 and 65536.public Integer getDestinationPort()
The destination port for the probe. 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 Probe withDestinationPort(Integer destinationPort)
The destination port for the probe. This is required only if the protocol is TCP and
must be a number between 1 and 65536.
destinationPort - The destination port for the probe. This is required only if the protocol is TCP
and must be a number between 1 and 65536.public void setProtocol(String protocol)
The network protocol for the destination. This can be either TCP or ICMP. If the
protocol is TCP, then port is also required.
protocol - The network protocol for the destination. This can be either TCP or ICMP. If the
protocol is TCP, then port is also required.Protocolpublic String getProtocol()
The 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.Protocolpublic Probe withProtocol(String protocol)
The network protocol for the destination. This can be either TCP or ICMP. If the
protocol is TCP, then port is also required.
protocol - The network protocol for the destination. This can be either TCP or ICMP. If the
protocol is TCP, then port is also required.Protocolpublic Probe withProtocol(Protocol protocol)
The network protocol for the destination. This can be either TCP or ICMP. If the
protocol is TCP, then port is also required.
protocol - The network protocol for the destination. This can be either TCP or ICMP. If the
protocol is TCP, then port is also required.Protocolpublic void setPacketSize(Integer packetSize)
The size of the packets traveling between the source and destination. This must be a
number between 56 and
packetSize - The size of the packets traveling between the source and destination. This must
be a number between 56 andpublic Integer getPacketSize()
The size of the packets traveling between the source and destination. This must be a
number between 56 and
source and destination. This must
be a number between 56 andpublic Probe withPacketSize(Integer packetSize)
The size of the packets traveling between the source and destination. This must be a
number between 56 and
packetSize - The size of the packets traveling between the source and destination. This must
be a number between 56 andpublic void setAddressFamily(String addressFamily)
The IPv4 or IPv6 address for the probe.
addressFamily - The IPv4 or IPv6 address for the probe.AddressFamilypublic String getAddressFamily()
The IPv4 or IPv6 address for the probe.
AddressFamilypublic Probe withAddressFamily(String addressFamily)
The IPv4 or IPv6 address for the probe.
addressFamily - The IPv4 or IPv6 address for the probe.AddressFamilypublic Probe withAddressFamily(AddressFamily addressFamily)
The IPv4 or IPv6 address for the probe.
addressFamily - The IPv4 or IPv6 address for the probe.AddressFamilypublic void setVpcId(String vpcId)
The ID of the source VPC subnet.
vpcId - The ID of the source VPC subnet.public String getVpcId()
The ID of the source VPC subnet.
public Probe withVpcId(String vpcId)
The ID of the source VPC subnet.
vpcId - The ID of the source VPC subnet.public void setState(String state)
The state of the probe.
state - The state of the probe.ProbeStatepublic String getState()
The state of the probe.
ProbeStatepublic Probe withState(String state)
The state of the probe.
state - The state of the probe.ProbeStatepublic Probe withState(ProbeState state)
The state of the probe.
state - The state of the probe.ProbeStatepublic void setCreatedAt(Date createdAt)
The time and date the probe was created.
createdAt - The time and date the probe was created.public Date getCreatedAt()
The time and date the probe was created.
public Probe withCreatedAt(Date createdAt)
The time and date the probe was created.
createdAt - The time and date the probe was created.public void setModifiedAt(Date modifiedAt)
The time and date that the probe was last modified.
modifiedAt - The time and date that the probe was last modified.public Date getModifiedAt()
The time and date that the probe was last modified.
public Probe withModifiedAt(Date modifiedAt)
The time and date that the probe was last modified.
modifiedAt - The time and date that the probe was last modified.public Map<String,String> getTags()
The list of key-value pairs created and assigned to the probe.
public void setTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the probe.
tags - The list of key-value pairs created and assigned to the probe.public Probe withTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the probe.
tags - The list of key-value pairs created and assigned to the probe.public Probe clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.