Class DigitalOceanConfiguration
- java.lang.Object
-
- org.apache.camel.component.digitalocean.DigitalOceanConfiguration
-
@UriParams public class DigitalOceanConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description DigitalOceanConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.myjeeva.digitalocean.impl.DigitalOceanClientgetDigitalOceanClient()StringgetHttpProxyHost()StringgetHttpProxyPassword()IntegergetHttpProxyPort()StringgetHttpProxyUser()StringgetOAuthToken()DigitalOceanOperationsgetOperation()IntegergetPage()IntegergetPerPage()DigitalOceanResourcesgetResource()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.voidsetPage(Integer page)Use for pagination.voidsetPerPage(Integer perPage)Use for pagination.voidsetResource(DigitalOceanResources resource)The DigitalOcean resource type on which perform the operation.
-
-
-
Method Detail
-
getResource
public DigitalOceanResources getResource()
-
setResource
public void setResource(DigitalOceanResources resource)
The DigitalOcean resource type on which perform the operation.
-
getOperation
public DigitalOceanOperations getOperation()
-
setOperation
public void setOperation(DigitalOceanOperations operation)
The operation to perform to the given resource.
-
getOAuthToken
public String getOAuthToken()
-
setOAuthToken
public void setOAuthToken(String oAuthToken)
DigitalOcean OAuth Token
-
getPerPage
public Integer getPerPage()
-
setPerPage
public void setPerPage(Integer perPage)
Use for pagination. Set the number of item per request. The maximum number of results per page is 200.
-
getPage
public Integer getPage()
-
setPage
public void setPage(Integer page)
Use for pagination. Force the page number.
-
getHttpProxyHost
public String getHttpProxyHost()
-
setHttpProxyHost
public void setHttpProxyHost(String httpProxyHost)
Set a proxy host if needed
-
getHttpProxyUser
public String getHttpProxyUser()
-
setHttpProxyUser
public void setHttpProxyUser(String httpProxyUser)
Set a proxy host if needed
-
getHttpProxyPassword
public String getHttpProxyPassword()
-
setHttpProxyPassword
public void setHttpProxyPassword(String httpProxyPassword)
Set a proxy password if needed
-
getHttpProxyPort
public Integer getHttpProxyPort()
-
setHttpProxyPort
public void setHttpProxyPort(Integer httpProxyPort)
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
-
-