com.amazonaws.a2s
Class AmazonA2SConfig

java.lang.Object
  extended by com.amazonaws.a2s.AmazonA2SConfig

public class AmazonA2SConfig
extends java.lang.Object

Configuration for accessing Amazon A2S service


Constructor Summary
AmazonA2SConfig()
           
 
Method Summary
 java.lang.String getInputEncoding()
          Gets Input Encoding
 java.lang.String getProxyHost()
          Gets ProxyHost property
 int getProxyPort()
          Gets ProxyPort property
 java.lang.String getServiceURL()
          Gets ServiceURL property
 java.lang.String getServiceVersion()
          Gets Version of the API
 java.lang.String getUserAgent()
          Gets UserAgent property
 boolean isSetProxyHost()
          Checks if ProxyHost property is set
 boolean isSetProxyPort()
          Checks if ProxyPort property is set
 boolean isSetServiceURL()
          Checks if ServiceURL property is set
 boolean isSetUserAgent()
          Checks if UserAgent property is set
 void setInputEncoding(java.lang.String inputEncoding)
          Sets Input Encoding property
 void setProxyHost(java.lang.String proxyHost)
          Sets ProxyHost property
 void setProxyPort(int proxyPort)
          Sets ProxyPort property
 void setServiceURL(java.lang.String serviceURL)
          Sets ServiceURL property
 void setUserAgent(java.lang.String userAgent)
          Sets UserAgent property
 AmazonA2SConfig withInputEncoding(java.lang.String inputEncoding)
          Sets Input Encoding property and returns current AmazonA2SConfig
 AmazonA2SConfig withProxyHost(java.lang.String proxyHost)
          Sets ProxyHost property and returns current AmazonA2SConfig
 AmazonA2SConfig withProxyPort(int proxyPort)
          Sets ProxyPort property and returns current AmazonA2SConfig
 AmazonA2SConfig withServiceURL(java.lang.String serviceURL)
          Sets ServiceURL property and returns current AmazonA2SConfig
 AmazonA2SConfig withUserAgent(java.lang.String userAgent)
          Sets UserAgent property and returns current AmazonA2SConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmazonA2SConfig

public AmazonA2SConfig()
Method Detail

getServiceVersion

public java.lang.String getServiceVersion()
Gets Version of the API

Returns:
Version of the Service

getInputEncoding

public java.lang.String getInputEncoding()
Gets Input Encoding

Returns:
Input Encoding

setInputEncoding

public void setInputEncoding(java.lang.String inputEncoding)
Sets Input Encoding property

Parameters:
inputEncoding - Input Encoding to use when sending request

withInputEncoding

public AmazonA2SConfig withInputEncoding(java.lang.String inputEncoding)
Sets Input Encoding property and returns current AmazonA2SConfig

Parameters:
inputEncoding - Input Encoding to use when sending request
Returns:
AmazonA2SConfig

getUserAgent

public java.lang.String getUserAgent()
Gets UserAgent property

Returns:
User Agent String to use when sending request

setUserAgent

public void setUserAgent(java.lang.String userAgent)
Sets UserAgent property

Parameters:
userAgent - User Agent String to use when sending request

withUserAgent

public AmazonA2SConfig withUserAgent(java.lang.String userAgent)
Sets UserAgent property and returns current AmazonA2SConfig

Parameters:
userAgent - User Agent String to use when sending request
Returns:
AmazonA2SConfig

isSetUserAgent

public boolean isSetUserAgent()
Checks if UserAgent property is set

Returns:
true if UserAgent property is set

getServiceURL

public java.lang.String getServiceURL()
Gets ServiceURL property

Returns:
Service Endpoint URL

setServiceURL

public void setServiceURL(java.lang.String serviceURL)
Sets ServiceURL property

Parameters:
serviceURL - Service Endpoint URL

withServiceURL

public AmazonA2SConfig withServiceURL(java.lang.String serviceURL)
Sets ServiceURL property and returns current AmazonA2SConfig

Parameters:
serviceURL - Service Endpoint URL
Returns:
AmazonA2SConfig

isSetServiceURL

public boolean isSetServiceURL()
Checks if ServiceURL property is set

Returns:
true if ServiceURL property is set

getProxyHost

public java.lang.String getProxyHost()
Gets ProxyHost property

Returns:
Proxy Host for connection

setProxyHost

public void setProxyHost(java.lang.String proxyHost)
Sets ProxyHost property

Parameters:
proxyHost - Proxy Host for connection

withProxyHost

public AmazonA2SConfig withProxyHost(java.lang.String proxyHost)
Sets ProxyHost property and returns current AmazonA2SConfig

Parameters:
proxyHost - Proxy Host for connection
Returns:
AmazonA2SConfig

isSetProxyHost

public boolean isSetProxyHost()
Checks if ProxyHost property is set

Returns:
true if ProxyHost property is set

getProxyPort

public int getProxyPort()
Gets ProxyPort property

Returns:
Proxy Port for connection

setProxyPort

public void setProxyPort(int proxyPort)
Sets ProxyPort property

Parameters:
proxyPort - Proxy Port for connection

withProxyPort

public AmazonA2SConfig withProxyPort(int proxyPort)
Sets ProxyPort property and returns current AmazonA2SConfig

Parameters:
proxyPort - Proxy Port for connection
Returns:
AmazonA2SConfig

isSetProxyPort

public boolean isSetProxyPort()
Checks if ProxyPort property is set

Returns:
true if ProxyPort property is set