@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetProbeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetProbeResult() |
Modifier and Type | Method and Description |
---|---|
GetProbeResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetProbeResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetProbeResult |
clone() |
boolean |
equals(Object obj) |
String |
getAddressFamily()
Indicates whether the IP address is
IPV4 or IPV6 . |
Date |
getCreatedAt()
The time and date that the probe was created.
|
String |
getDestination()
The destination IP address for the monitor.
|
Integer |
getDestinationPort()
The port associated with the
destination . |
Date |
getModifiedAt()
The time and date that the probe was last modified.
|
Integer |
getPacketSize()
The size of the packets sent between the source and destination.
|
String |
getProbeArn()
The ARN of the probe.
|
String |
getProbeId()
The ID of the probe for which details are returned.
|
String |
getProtocol()
The protocol used for the network traffic between the
source and destination . |
String |
getSourceArn()
The ARN of the probe.
|
String |
getState()
The state of the probe.
|
Map<String,String> |
getTags()
The list of key-value pairs assigned to the probe.
|
String |
getVpcId()
The ID of the source VPC or subnet.
|
int |
hashCode() |
void |
setAddressFamily(String addressFamily)
Indicates whether the IP address is
IPV4 or IPV6 . |
void |
setCreatedAt(Date createdAt)
The time and date that the probe was created.
|
void |
setDestination(String destination)
The destination IP address for the monitor.
|
void |
setDestinationPort(Integer destinationPort)
The port associated with the
destination . |
void |
setModifiedAt(Date modifiedAt)
The time and date that the probe was last modified.
|
void |
setPacketSize(Integer packetSize)
The size of the packets sent between the source and destination.
|
void |
setProbeArn(String probeArn)
The ARN of the probe.
|
void |
setProbeId(String probeId)
The ID of the probe for which details are returned.
|
void |
setProtocol(String protocol)
The protocol used for the network traffic between the
source and destination . |
void |
setSourceArn(String sourceArn)
The ARN of the probe.
|
void |
setState(String state)
The state of the probe.
|
void |
setTags(Map<String,String> tags)
The list of key-value pairs assigned to the probe.
|
void |
setVpcId(String vpcId)
The ID of the source VPC or subnet.
|
String |
toString()
Returns a string representation of this object.
|
GetProbeResult |
withAddressFamily(AddressFamily addressFamily)
Indicates whether the IP address is
IPV4 or IPV6 . |
GetProbeResult |
withAddressFamily(String addressFamily)
Indicates whether the IP address is
IPV4 or IPV6 . |
GetProbeResult |
withCreatedAt(Date createdAt)
The time and date that the probe was created.
|
GetProbeResult |
withDestination(String destination)
The destination IP address for the monitor.
|
GetProbeResult |
withDestinationPort(Integer destinationPort)
The port associated with the
destination . |
GetProbeResult |
withModifiedAt(Date modifiedAt)
The time and date that the probe was last modified.
|
GetProbeResult |
withPacketSize(Integer packetSize)
The size of the packets sent between the source and destination.
|
GetProbeResult |
withProbeArn(String probeArn)
The ARN of the probe.
|
GetProbeResult |
withProbeId(String probeId)
The ID of the probe for which details are returned.
|
GetProbeResult |
withProtocol(Protocol protocol)
The protocol used for the network traffic between the
source and destination . |
GetProbeResult |
withProtocol(String protocol)
The protocol used for the network traffic between the
source and destination . |
GetProbeResult |
withSourceArn(String sourceArn)
The ARN of the probe.
|
GetProbeResult |
withState(ProbeState state)
The state of the probe.
|
GetProbeResult |
withState(String state)
The state of the probe.
|
GetProbeResult |
withTags(Map<String,String> tags)
The list of key-value pairs assigned to the probe.
|
GetProbeResult |
withVpcId(String vpcId)
The ID of the source VPC or subnet.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setProbeId(String probeId)
The ID of the probe for which details are returned.
probeId
- The ID of the probe for which details are returned.public String getProbeId()
The ID of the probe for which details are returned.
public GetProbeResult withProbeId(String probeId)
The ID of the probe for which details are returned.
probeId
- The ID of the probe for which details are returned.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 GetProbeResult withProbeArn(String probeArn)
The ARN of the probe.
probeArn
- The ARN of the probe.public void setSourceArn(String sourceArn)
The ARN of the probe.
sourceArn
- The ARN of the probe.public String getSourceArn()
The ARN of the probe.
public GetProbeResult withSourceArn(String sourceArn)
The ARN of the probe.
sourceArn
- The ARN of the probe.public void setDestination(String destination)
The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.
destination
- The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.public String getDestination()
The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.
public GetProbeResult withDestination(String destination)
The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.
destination
- The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.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 GetProbeResult 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 GetProbeResult 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 GetProbeResult 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 GetProbeResult 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 void setAddressFamily(String addressFamily)
Indicates whether the IP address is IPV4
or IPV6
.
addressFamily
- Indicates whether the IP address is IPV4
or IPV6
.AddressFamily
public String getAddressFamily()
Indicates whether the IP address is IPV4
or IPV6
.
IPV4
or IPV6
.AddressFamily
public GetProbeResult withAddressFamily(String addressFamily)
Indicates whether the IP address is IPV4
or IPV6
.
addressFamily
- Indicates whether the IP address is IPV4
or IPV6
.AddressFamily
public GetProbeResult withAddressFamily(AddressFamily addressFamily)
Indicates whether the IP address is IPV4
or IPV6
.
addressFamily
- Indicates whether the IP address is IPV4
or IPV6
.AddressFamily
public void setVpcId(String vpcId)
The ID of the source VPC or subnet.
vpcId
- The ID of the source VPC or subnet.public String getVpcId()
The ID of the source VPC or subnet.
public GetProbeResult withVpcId(String vpcId)
The ID of the source VPC or subnet.
vpcId
- The ID of the source VPC or subnet.public void setState(String state)
The state of the probe.
state
- The state of the probe.ProbeState
public String getState()
The state of the probe.
ProbeState
public GetProbeResult withState(String state)
The state of the probe.
state
- The state of the probe.ProbeState
public GetProbeResult withState(ProbeState state)
The state of the probe.
state
- The state of the probe.ProbeState
public void setCreatedAt(Date createdAt)
The time and date that the probe was created.
createdAt
- The time and date that the probe was created.public Date getCreatedAt()
The time and date that the probe was created.
public GetProbeResult withCreatedAt(Date createdAt)
The time and date that the probe was created.
createdAt
- The time and date that 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 GetProbeResult 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 assigned to the probe.
public void setTags(Map<String,String> tags)
The list of key-value pairs assigned to the probe.
tags
- The list of key-value pairs assigned to the probe.public GetProbeResult withTags(Map<String,String> tags)
The list of key-value pairs assigned to the probe.
tags
- The list of key-value pairs assigned to the probe.public GetProbeResult addTagsEntry(String key, String value)
public GetProbeResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetProbeResult clone()