Class DigitalOceanConfiguration
java.lang.Object
org.apache.camel.component.digitalocean.DigitalOceanConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.myjeeva.digitalocean.impl.DigitalOceanClientgetPage()voidsetDigitalOceanClient(com.myjeeva.digitalocean.impl.DigitalOceanClient digitalOceanClient) To use a existing configured DigitalOceanClient as clientvoidsetHttpProxyHost(String httpProxyHost) Set a proxy host if neededvoidsetHttpProxyPassword(String httpProxyPassword) Set a proxy password if neededvoidsetHttpProxyPort(Integer httpProxyPort) Set a proxy port if neededvoidsetHttpProxyUser(String httpProxyUser) Set a proxy host if neededvoidsetOAuthToken(String oAuthToken) DigitalOcean OAuth TokenvoidsetOperation(DigitalOceanOperations operation) The operation to perform to the given resource.voidUse for pagination.voidsetPerPage(Integer perPage) Use for pagination.voidsetResource(DigitalOceanResources resource) The DigitalOcean resource type on which perform the operation.
-
Constructor Details
-
DigitalOceanConfiguration
public DigitalOceanConfiguration()
-
-
Method Details
-
getResource
-
setResource
The DigitalOcean resource type on which perform the operation. -
getOperation
-
setOperation
The operation to perform to the given resource. -
getOAuthToken
-
setOAuthToken
DigitalOcean OAuth Token -
getPerPage
-
setPerPage
Use for pagination. Set the number of item per request. The maximum number of results per page is 200. -
getPage
-
setPage
Use for pagination. Force the page number. -
getHttpProxyHost
-
setHttpProxyHost
Set a proxy host if needed -
getHttpProxyUser
-
setHttpProxyUser
Set a proxy host if needed -
getHttpProxyPassword
-
setHttpProxyPassword
Set a proxy password if needed -
getHttpProxyPort
-
setHttpProxyPort
Set a proxy port if needed -
getDigitalOceanClient
public com.myjeeva.digitalocean.impl.DigitalOceanClient getDigitalOceanClient() -
setDigitalOceanClient
public void setDigitalOceanClient(com.myjeeva.digitalocean.impl.DigitalOceanClient digitalOceanClient) To use a existing configured DigitalOceanClient as client
-