@UriEndpoint(firstVersion="3.12.0",
scheme="hwcloud-imagerecognition",
title="Huawei Cloud Image Recognition",
syntax="hwcloud-imagerecognition:operation",
category={CLOUD,MESSAGING},
producerOnly=true)
public class ImageRecognitionEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Constructor and Description |
|---|
ImageRecognitionEndpoint() |
ImageRecognitionEndpoint(String uri,
String operation,
ImageRecognitionComponent component) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getAccessKey() |
String |
getEndpoint() |
com.huaweicloud.sdk.image.v2.ImageClient |
getImageClient() |
String |
getImageContent() |
String |
getImageUrl() |
String |
getOperation() |
String |
getProjectId() |
String |
getProxyHost() |
String |
getProxyPassword() |
int |
getProxyPort() |
String |
getProxyUser() |
String |
getRegion() |
String |
getSecretKey() |
org.apache.camel.component.huaweicloud.common.models.ServiceKeys |
getServiceKeys() |
String |
getTagLanguage() |
int |
getTagLimit() |
float |
getThreshold() |
boolean |
isIgnoreSslVerification() |
void |
setAccessKey(String accessKey) |
void |
setEndpoint(String endpoint) |
void |
setIgnoreSslVerification(boolean ignoreSslVerification) |
void |
setImageClient(com.huaweicloud.sdk.image.v2.ImageClient imageClient) |
void |
setImageContent(String imageContent) |
void |
setImageUrl(String imageUrl) |
void |
setOperation(String operation) |
void |
setProjectId(String projectId) |
void |
setProxyHost(String proxyHost) |
void |
setProxyPassword(String proxyPassword) |
void |
setProxyPort(int proxyPort) |
void |
setProxyUser(String proxyUser) |
void |
setRegion(String region) |
void |
setSecretKey(String secretKey) |
void |
setServiceKeys(org.apache.camel.component.huaweicloud.common.models.ServiceKeys serviceKeys) |
void |
setTagLanguage(String tagLanguage) |
void |
setTagLimit(int tagLimit) |
void |
setThreshold(float threshold) |
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic ImageRecognitionEndpoint()
public ImageRecognitionEndpoint(String uri, String operation, ImageRecognitionComponent component)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic String getOperation()
public void setOperation(String operation)
public org.apache.camel.component.huaweicloud.common.models.ServiceKeys getServiceKeys()
public void setServiceKeys(org.apache.camel.component.huaweicloud.common.models.ServiceKeys serviceKeys)
public String getAccessKey()
public void setAccessKey(String accessKey)
public String getSecretKey()
public void setSecretKey(String secretKey)
public String getProjectId()
public void setProjectId(String projectId)
public String getProxyHost()
public void setProxyHost(String proxyHost)
public int getProxyPort()
public void setProxyPort(int proxyPort)
public String getProxyUser()
public void setProxyUser(String proxyUser)
public String getProxyPassword()
public void setProxyPassword(String proxyPassword)
public String getRegion()
public void setRegion(String region)
public String getEndpoint()
public void setEndpoint(String endpoint)
public String getImageContent()
public void setImageContent(String imageContent)
public String getImageUrl()
public void setImageUrl(String imageUrl)
public String getTagLanguage()
public void setTagLanguage(String tagLanguage)
public float getThreshold()
public void setThreshold(float threshold)
public int getTagLimit()
public void setTagLimit(int tagLimit)
public com.huaweicloud.sdk.image.v2.ImageClient getImageClient()
public void setImageClient(com.huaweicloud.sdk.image.v2.ImageClient imageClient)
public boolean isIgnoreSslVerification()
public void setIgnoreSslVerification(boolean ignoreSslVerification)
Apache Camel