
com.amazonaws.services.translate.AbstractAmazonTranslateAsync Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-translate Show documentation
Show all versions of aws-java-sdk-translate Show documentation
The AWS Java SDK for Amazon Translate module holds the client classes that are used for communicating with Amazon Translate Service
/*
* Copyright 2014-2019 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.translate;
import javax.annotation.Generated;
import com.amazonaws.services.translate.model.*;
/**
* Abstract implementation of {@code AmazonTranslateAsync}. 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 AbstractAmazonTranslateAsync extends AbstractAmazonTranslate implements AmazonTranslateAsync {
protected AbstractAmazonTranslateAsync() {
}
@Override
public java.util.concurrent.Future deleteTerminologyAsync(DeleteTerminologyRequest request) {
return deleteTerminologyAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteTerminologyAsync(DeleteTerminologyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getTerminologyAsync(GetTerminologyRequest request) {
return getTerminologyAsync(request, null);
}
@Override
public java.util.concurrent.Future getTerminologyAsync(GetTerminologyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future importTerminologyAsync(ImportTerminologyRequest request) {
return importTerminologyAsync(request, null);
}
@Override
public java.util.concurrent.Future importTerminologyAsync(ImportTerminologyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listTerminologiesAsync(ListTerminologiesRequest request) {
return listTerminologiesAsync(request, null);
}
@Override
public java.util.concurrent.Future listTerminologiesAsync(ListTerminologiesRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future translateTextAsync(TranslateTextRequest request) {
return translateTextAsync(request, null);
}
@Override
public java.util.concurrent.Future translateTextAsync(TranslateTextRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy