com.amazonaws.services.cloudwatch.AbstractAmazonCloudWatchAsync Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-cloudwatch Show documentation
Show all versions of aws-java-sdk-cloudwatch Show documentation
The AWS Java SDK for Amazon CloudWatch module holds the client classes that are used for communicating with Amazon CloudWatch Service
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.cloudwatch;
import javax.annotation.Generated;
import com.amazonaws.services.cloudwatch.model.*;
/**
* Abstract implementation of {@code AmazonCloudWatchAsync}. Convenient method forms pass through to the corresponding
* overload that takes a request object and an {@code AsyncHandler}, which throws an
* {@code UnsupportedOperationException}.
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class AbstractAmazonCloudWatchAsync extends AbstractAmazonCloudWatch implements AmazonCloudWatchAsync {
protected AbstractAmazonCloudWatchAsync() {
}
@Override
public java.util.concurrent.Future deleteAlarmsAsync(DeleteAlarmsRequest request) {
return deleteAlarmsAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteAlarmsAsync(DeleteAlarmsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteAnomalyDetectorAsync(DeleteAnomalyDetectorRequest request) {
return deleteAnomalyDetectorAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteAnomalyDetectorAsync(DeleteAnomalyDetectorRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteDashboardsAsync(DeleteDashboardsRequest request) {
return deleteDashboardsAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteDashboardsAsync(DeleteDashboardsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteInsightRulesAsync(DeleteInsightRulesRequest request) {
return deleteInsightRulesAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteInsightRulesAsync(DeleteInsightRulesRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteMetricStreamAsync(DeleteMetricStreamRequest request) {
return deleteMetricStreamAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteMetricStreamAsync(DeleteMetricStreamRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future describeAlarmHistoryAsync(DescribeAlarmHistoryRequest request) {
return describeAlarmHistoryAsync(request, null);
}
@Override
public java.util.concurrent.Future describeAlarmHistoryAsync(DescribeAlarmHistoryRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the DescribeAlarmHistory operation.
*
* @see #describeAlarmHistoryAsync(DescribeAlarmHistoryRequest)
*/
@Override
public java.util.concurrent.Future describeAlarmHistoryAsync() {
return describeAlarmHistoryAsync(new DescribeAlarmHistoryRequest());
}
/**
* Simplified method form for invoking the DescribeAlarmHistory operation with an AsyncHandler.
*
* @see #describeAlarmHistoryAsync(DescribeAlarmHistoryRequest, com.amazonaws.handlers.AsyncHandler)
*/
@Override
public java.util.concurrent.Future describeAlarmHistoryAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return describeAlarmHistoryAsync(new DescribeAlarmHistoryRequest(), asyncHandler);
}
@Override
public java.util.concurrent.Future describeAlarmsAsync(DescribeAlarmsRequest request) {
return describeAlarmsAsync(request, null);
}
@Override
public java.util.concurrent.Future describeAlarmsAsync(DescribeAlarmsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the DescribeAlarms operation.
*
* @see #describeAlarmsAsync(DescribeAlarmsRequest)
*/
@Override
public java.util.concurrent.Future describeAlarmsAsync() {
return describeAlarmsAsync(new DescribeAlarmsRequest());
}
/**
* Simplified method form for invoking the DescribeAlarms operation with an AsyncHandler.
*
* @see #describeAlarmsAsync(DescribeAlarmsRequest, com.amazonaws.handlers.AsyncHandler)
*/
@Override
public java.util.concurrent.Future describeAlarmsAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return describeAlarmsAsync(new DescribeAlarmsRequest(), asyncHandler);
}
@Override
public java.util.concurrent.Future describeAlarmsForMetricAsync(DescribeAlarmsForMetricRequest request) {
return describeAlarmsForMetricAsync(request, null);
}
@Override
public java.util.concurrent.Future describeAlarmsForMetricAsync(DescribeAlarmsForMetricRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future describeAnomalyDetectorsAsync(DescribeAnomalyDetectorsRequest request) {
return describeAnomalyDetectorsAsync(request, null);
}
@Override
public java.util.concurrent.Future describeAnomalyDetectorsAsync(DescribeAnomalyDetectorsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future describeInsightRulesAsync(DescribeInsightRulesRequest request) {
return describeInsightRulesAsync(request, null);
}
@Override
public java.util.concurrent.Future describeInsightRulesAsync(DescribeInsightRulesRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future disableAlarmActionsAsync(DisableAlarmActionsRequest request) {
return disableAlarmActionsAsync(request, null);
}
@Override
public java.util.concurrent.Future disableAlarmActionsAsync(DisableAlarmActionsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future disableInsightRulesAsync(DisableInsightRulesRequest request) {
return disableInsightRulesAsync(request, null);
}
@Override
public java.util.concurrent.Future disableInsightRulesAsync(DisableInsightRulesRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future enableAlarmActionsAsync(EnableAlarmActionsRequest request) {
return enableAlarmActionsAsync(request, null);
}
@Override
public java.util.concurrent.Future enableAlarmActionsAsync(EnableAlarmActionsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future enableInsightRulesAsync(EnableInsightRulesRequest request) {
return enableInsightRulesAsync(request, null);
}
@Override
public java.util.concurrent.Future enableInsightRulesAsync(EnableInsightRulesRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getDashboardAsync(GetDashboardRequest request) {
return getDashboardAsync(request, null);
}
@Override
public java.util.concurrent.Future getDashboardAsync(GetDashboardRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getInsightRuleReportAsync(GetInsightRuleReportRequest request) {
return getInsightRuleReportAsync(request, null);
}
@Override
public java.util.concurrent.Future getInsightRuleReportAsync(GetInsightRuleReportRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getMetricDataAsync(GetMetricDataRequest request) {
return getMetricDataAsync(request, null);
}
@Override
public java.util.concurrent.Future getMetricDataAsync(GetMetricDataRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getMetricStatisticsAsync(GetMetricStatisticsRequest request) {
return getMetricStatisticsAsync(request, null);
}
@Override
public java.util.concurrent.Future getMetricStatisticsAsync(GetMetricStatisticsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getMetricStreamAsync(GetMetricStreamRequest request) {
return getMetricStreamAsync(request, null);
}
@Override
public java.util.concurrent.Future getMetricStreamAsync(GetMetricStreamRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getMetricWidgetImageAsync(GetMetricWidgetImageRequest request) {
return getMetricWidgetImageAsync(request, null);
}
@Override
public java.util.concurrent.Future getMetricWidgetImageAsync(GetMetricWidgetImageRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listDashboardsAsync(ListDashboardsRequest request) {
return listDashboardsAsync(request, null);
}
@Override
public java.util.concurrent.Future listDashboardsAsync(ListDashboardsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listManagedInsightRulesAsync(ListManagedInsightRulesRequest request) {
return listManagedInsightRulesAsync(request, null);
}
@Override
public java.util.concurrent.Future listManagedInsightRulesAsync(ListManagedInsightRulesRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listMetricStreamsAsync(ListMetricStreamsRequest request) {
return listMetricStreamsAsync(request, null);
}
@Override
public java.util.concurrent.Future listMetricStreamsAsync(ListMetricStreamsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listMetricsAsync(ListMetricsRequest request) {
return listMetricsAsync(request, null);
}
@Override
public java.util.concurrent.Future listMetricsAsync(ListMetricsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the ListMetrics operation.
*
* @see #listMetricsAsync(ListMetricsRequest)
*/
@Override
public java.util.concurrent.Future listMetricsAsync() {
return listMetricsAsync(new ListMetricsRequest());
}
/**
* Simplified method form for invoking the ListMetrics operation with an AsyncHandler.
*
* @see #listMetricsAsync(ListMetricsRequest, com.amazonaws.handlers.AsyncHandler)
*/
@Override
public java.util.concurrent.Future listMetricsAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return listMetricsAsync(new ListMetricsRequest(), asyncHandler);
}
@Override
public java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest request) {
return listTagsForResourceAsync(request, null);
}
@Override
public java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putAnomalyDetectorAsync(PutAnomalyDetectorRequest request) {
return putAnomalyDetectorAsync(request, null);
}
@Override
public java.util.concurrent.Future putAnomalyDetectorAsync(PutAnomalyDetectorRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putCompositeAlarmAsync(PutCompositeAlarmRequest request) {
return putCompositeAlarmAsync(request, null);
}
@Override
public java.util.concurrent.Future putCompositeAlarmAsync(PutCompositeAlarmRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putDashboardAsync(PutDashboardRequest request) {
return putDashboardAsync(request, null);
}
@Override
public java.util.concurrent.Future putDashboardAsync(PutDashboardRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putInsightRuleAsync(PutInsightRuleRequest request) {
return putInsightRuleAsync(request, null);
}
@Override
public java.util.concurrent.Future putInsightRuleAsync(PutInsightRuleRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putManagedInsightRulesAsync(PutManagedInsightRulesRequest request) {
return putManagedInsightRulesAsync(request, null);
}
@Override
public java.util.concurrent.Future putManagedInsightRulesAsync(PutManagedInsightRulesRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putMetricAlarmAsync(PutMetricAlarmRequest request) {
return putMetricAlarmAsync(request, null);
}
@Override
public java.util.concurrent.Future putMetricAlarmAsync(PutMetricAlarmRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putMetricDataAsync(PutMetricDataRequest request) {
return putMetricDataAsync(request, null);
}
@Override
public java.util.concurrent.Future putMetricDataAsync(PutMetricDataRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putMetricStreamAsync(PutMetricStreamRequest request) {
return putMetricStreamAsync(request, null);
}
@Override
public java.util.concurrent.Future putMetricStreamAsync(PutMetricStreamRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future setAlarmStateAsync(SetAlarmStateRequest request) {
return setAlarmStateAsync(request, null);
}
@Override
public java.util.concurrent.Future setAlarmStateAsync(SetAlarmStateRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future startMetricStreamsAsync(StartMetricStreamsRequest request) {
return startMetricStreamsAsync(request, null);
}
@Override
public java.util.concurrent.Future startMetricStreamsAsync(StartMetricStreamsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future stopMetricStreamsAsync(StopMetricStreamsRequest request) {
return stopMetricStreamsAsync(request, null);
}
@Override
public java.util.concurrent.Future stopMetricStreamsAsync(StopMetricStreamsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future tagResourceAsync(TagResourceRequest request) {
return tagResourceAsync(request, null);
}
@Override
public java.util.concurrent.Future tagResourceAsync(TagResourceRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future untagResourceAsync(UntagResourceRequest request) {
return untagResourceAsync(request, null);
}
@Override
public java.util.concurrent.Future untagResourceAsync(UntagResourceRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
}