Class TranslateConfiguration

  • All Implemented Interfaces:
    Cloneable

    @UriParams
    public class TranslateConfiguration
    extends Object
    implements Cloneable
    • Constructor Detail

      • TranslateConfiguration

        public TranslateConfiguration()
    • Method Detail

      • getTranslateClient

        public com.amazonaws.services.translate.AmazonTranslate getTranslateClient()
      • setTranslateClient

        public void setTranslateClient​(com.amazonaws.services.translate.AmazonTranslate translateClient)
        To use a existing configured AWS Translate as client
      • getAccessKey

        public String getAccessKey()
      • setAccessKey

        public void setAccessKey​(String accessKey)
        Amazon AWS Access Key
      • getSecretKey

        public String getSecretKey()
      • setSecretKey

        public void setSecretKey​(String secretKey)
        Amazon AWS Secret Key
      • setOperation

        public void setOperation​(TranslateOperations operation)
        The operation to perform
      • getProxyProtocol

        public com.amazonaws.Protocol getProxyProtocol()
      • setProxyProtocol

        public void setProxyProtocol​(com.amazonaws.Protocol proxyProtocol)
        To define a proxy protocol when instantiating the Translate client
      • getProxyHost

        public String getProxyHost()
      • setProxyHost

        public void setProxyHost​(String proxyHost)
        To define a proxy host when instantiating the Translate client
      • getProxyPort

        public Integer getProxyPort()
      • setProxyPort

        public void setProxyPort​(Integer proxyPort)
        To define a proxy port when instantiating the Translate client
      • getRegion

        public String getRegion()
      • setRegion

        public void setRegion​(String region)
        The region in which Translate client needs to work. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name()
      • isAutodetectSourceLanguage

        public boolean isAutodetectSourceLanguage()
      • setAutodetectSourceLanguage

        public void setAutodetectSourceLanguage​(boolean autodetectSourceLanguage)
        Being able to autodetect the source language
      • getSourceLanguage

        public String getSourceLanguage()
      • setSourceLanguage

        public void setSourceLanguage​(String sourceLanguage)
        Source language to use
      • getTargetLanguage

        public String getTargetLanguage()
      • setTargetLanguage

        public void setTargetLanguage​(String targetLanguage)
        Target language to use
      • isAutoDiscoverClient

        public boolean isAutoDiscoverClient()
      • setAutoDiscoverClient

        public void setAutoDiscoverClient​(boolean autoDiscoverClient)
        Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking.