@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonNetworkMonitorAsync extends AbstractAmazonNetworkMonitor implements AmazonNetworkMonitorAsync
AmazonNetworkMonitorAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
createMonitor, createProbe, deleteMonitor, deleteProbe, getCachedResponseMetadata, getMonitor, getProbe, listMonitors, listTagsForResource, shutdown, tagResource, untagResource, updateMonitor, updateProbe
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createMonitor, createProbe, deleteMonitor, deleteProbe, getCachedResponseMetadata, getMonitor, getProbe, listMonitors, listTagsForResource, shutdown, tagResource, untagResource, updateMonitor, updateProbe
public Future<CreateMonitorResult> createMonitorAsync(CreateMonitorRequest request)
AmazonNetworkMonitorAsync
Creates a monitor between a source subnet and destination IP address. Within a monitor you'll create one or more probes that monitor network traffic between your source Amazon Web Services VPC subnets and your destination IP addresses. Each probe then aggregates and sends metrics to Amazon CloudWatch.
You can also create a monitor with probes using this command. For each probe, you define the following:
source
—The subnet IDs where the probes will be created.
destination
— The target destination IP address for the probe.
destinationPort
—Required only if the protocol is TCP
.
protocol
—The communication protocol between the source and destination. This will be either
TCP
or ICMP
.
packetSize
—The size of the packets. This must be a number between 56
and
8500
.
(Optional) tags
—Key-value pairs created and assigned to the probe.
createMonitorAsync
in interface AmazonNetworkMonitorAsync
public Future<CreateMonitorResult> createMonitorAsync(CreateMonitorRequest request, AsyncHandler<CreateMonitorRequest,CreateMonitorResult> asyncHandler)
AmazonNetworkMonitorAsync
Creates a monitor between a source subnet and destination IP address. Within a monitor you'll create one or more probes that monitor network traffic between your source Amazon Web Services VPC subnets and your destination IP addresses. Each probe then aggregates and sends metrics to Amazon CloudWatch.
You can also create a monitor with probes using this command. For each probe, you define the following:
source
—The subnet IDs where the probes will be created.
destination
— The target destination IP address for the probe.
destinationPort
—Required only if the protocol is TCP
.
protocol
—The communication protocol between the source and destination. This will be either
TCP
or ICMP
.
packetSize
—The size of the packets. This must be a number between 56
and
8500
.
(Optional) tags
—Key-value pairs created and assigned to the probe.
createMonitorAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateProbeResult> createProbeAsync(CreateProbeRequest request)
AmazonNetworkMonitorAsync
Create a probe within a monitor. Once you create a probe, and it begins monitoring your network traffic, you'll
incur billing charges for that probe. This action requires the monitorName
parameter. Run
ListMonitors
to get a list of monitor names. Note the name of the monitorName
you want
to create the probe for.
createProbeAsync
in interface AmazonNetworkMonitorAsync
public Future<CreateProbeResult> createProbeAsync(CreateProbeRequest request, AsyncHandler<CreateProbeRequest,CreateProbeResult> asyncHandler)
AmazonNetworkMonitorAsync
Create a probe within a monitor. Once you create a probe, and it begins monitoring your network traffic, you'll
incur billing charges for that probe. This action requires the monitorName
parameter. Run
ListMonitors
to get a list of monitor names. Note the name of the monitorName
you want
to create the probe for.
createProbeAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteMonitorResult> deleteMonitorAsync(DeleteMonitorRequest request)
AmazonNetworkMonitorAsync
Deletes a specified monitor.
This action requires the monitorName
parameter. Run ListMonitors
to get a list of
monitor names.
deleteMonitorAsync
in interface AmazonNetworkMonitorAsync
public Future<DeleteMonitorResult> deleteMonitorAsync(DeleteMonitorRequest request, AsyncHandler<DeleteMonitorRequest,DeleteMonitorResult> asyncHandler)
AmazonNetworkMonitorAsync
Deletes a specified monitor.
This action requires the monitorName
parameter. Run ListMonitors
to get a list of
monitor names.
deleteMonitorAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteProbeResult> deleteProbeAsync(DeleteProbeRequest request)
AmazonNetworkMonitorAsync
Deletes the specified probe. Once a probe is deleted you'll no longer incur any billing fees for that probe.
This action requires both the monitorName
and probeId
parameters. Run
ListMonitors
to get a list of monitor names. Run GetMonitor
to get a list of probes and
probe IDs. You can only delete a single probe at a time using this action.
deleteProbeAsync
in interface AmazonNetworkMonitorAsync
public Future<DeleteProbeResult> deleteProbeAsync(DeleteProbeRequest request, AsyncHandler<DeleteProbeRequest,DeleteProbeResult> asyncHandler)
AmazonNetworkMonitorAsync
Deletes the specified probe. Once a probe is deleted you'll no longer incur any billing fees for that probe.
This action requires both the monitorName
and probeId
parameters. Run
ListMonitors
to get a list of monitor names. Run GetMonitor
to get a list of probes and
probe IDs. You can only delete a single probe at a time using this action.
deleteProbeAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetMonitorResult> getMonitorAsync(GetMonitorRequest request)
AmazonNetworkMonitorAsync
Returns details about a specific monitor.
This action requires the monitorName
parameter. Run ListMonitors
to get a list of
monitor names.
getMonitorAsync
in interface AmazonNetworkMonitorAsync
public Future<GetMonitorResult> getMonitorAsync(GetMonitorRequest request, AsyncHandler<GetMonitorRequest,GetMonitorResult> asyncHandler)
AmazonNetworkMonitorAsync
Returns details about a specific monitor.
This action requires the monitorName
parameter. Run ListMonitors
to get a list of
monitor names.
getMonitorAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetProbeResult> getProbeAsync(GetProbeRequest request)
AmazonNetworkMonitorAsync
Returns the details about a probe. This action requires both the monitorName
and
probeId
parameters. Run ListMonitors
to get a list of monitor names. Run
GetMonitor
to get a list of probes and probe IDs.
getProbeAsync
in interface AmazonNetworkMonitorAsync
public Future<GetProbeResult> getProbeAsync(GetProbeRequest request, AsyncHandler<GetProbeRequest,GetProbeResult> asyncHandler)
AmazonNetworkMonitorAsync
Returns the details about a probe. This action requires both the monitorName
and
probeId
parameters. Run ListMonitors
to get a list of monitor names. Run
GetMonitor
to get a list of probes and probe IDs.
getProbeAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListMonitorsResult> listMonitorsAsync(ListMonitorsRequest request)
AmazonNetworkMonitorAsync
Returns a list of all of your monitors.
listMonitorsAsync
in interface AmazonNetworkMonitorAsync
public Future<ListMonitorsResult> listMonitorsAsync(ListMonitorsRequest request, AsyncHandler<ListMonitorsRequest,ListMonitorsResult> asyncHandler)
AmazonNetworkMonitorAsync
Returns a list of all of your monitors.
listMonitorsAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonNetworkMonitorAsync
Lists the tags assigned to this resource.
listTagsForResourceAsync
in interface AmazonNetworkMonitorAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonNetworkMonitorAsync
Lists the tags assigned to this resource.
listTagsForResourceAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonNetworkMonitorAsync
Adds key-value pairs to a monitor or probe.
tagResourceAsync
in interface AmazonNetworkMonitorAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonNetworkMonitorAsync
Adds key-value pairs to a monitor or probe.
tagResourceAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonNetworkMonitorAsync
Removes a key-value pair from a monitor or probe.
untagResourceAsync
in interface AmazonNetworkMonitorAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonNetworkMonitorAsync
Removes a key-value pair from a monitor or probe.
untagResourceAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateMonitorResult> updateMonitorAsync(UpdateMonitorRequest request)
AmazonNetworkMonitorAsync
Updates the aggregationPeriod
for a monitor. Monitors support an aggregationPeriod
of
either 30
or 60
seconds. This action requires the monitorName
and
probeId
parameter. Run ListMonitors
to get a list of monitor names.
updateMonitorAsync
in interface AmazonNetworkMonitorAsync
public Future<UpdateMonitorResult> updateMonitorAsync(UpdateMonitorRequest request, AsyncHandler<UpdateMonitorRequest,UpdateMonitorResult> asyncHandler)
AmazonNetworkMonitorAsync
Updates the aggregationPeriod
for a monitor. Monitors support an aggregationPeriod
of
either 30
or 60
seconds. This action requires the monitorName
and
probeId
parameter. Run ListMonitors
to get a list of monitor names.
updateMonitorAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateProbeResult> updateProbeAsync(UpdateProbeRequest request)
AmazonNetworkMonitorAsync
Updates a monitor probe. This action requires both the monitorName
and probeId
parameters. Run ListMonitors
to get a list of monitor names. Run GetMonitor
to get a
list of probes and probe IDs.
You can update the following para create a monitor with probes using this command. For each probe, you define the following:
state
—The state of the probe.
destination
— The target destination IP address for the probe.
destinationPort
—Required only if the protocol is TCP
.
protocol
—The communication protocol between the source and destination. This will be either
TCP
or ICMP
.
packetSize
—The size of the packets. This must be a number between 56
and
8500
.
(Optional) tags
—Key-value pairs created and assigned to the probe.
updateProbeAsync
in interface AmazonNetworkMonitorAsync
public Future<UpdateProbeResult> updateProbeAsync(UpdateProbeRequest request, AsyncHandler<UpdateProbeRequest,UpdateProbeResult> asyncHandler)
AmazonNetworkMonitorAsync
Updates a monitor probe. This action requires both the monitorName
and probeId
parameters. Run ListMonitors
to get a list of monitor names. Run GetMonitor
to get a
list of probes and probe IDs.
You can update the following para create a monitor with probes using this command. For each probe, you define the following:
state
—The state of the probe.
destination
— The target destination IP address for the probe.
destinationPort
—Required only if the protocol is TCP
.
protocol
—The communication protocol between the source and destination. This will be either
TCP
or ICMP
.
packetSize
—The size of the packets. This must be a number between 56
and
8500
.
(Optional) tags
—Key-value pairs created and assigned to the probe.
updateProbeAsync
in interface AmazonNetworkMonitorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.