Class DigitalOceanConfiguration


  • @UriParams
    public class DigitalOceanConfiguration
    extends Object
    • Constructor Detail

      • DigitalOceanConfiguration

        public DigitalOceanConfiguration()
    • Method Detail

      • setResource

        public void setResource​(DigitalOceanResources resource)
        The DigitalOcean resource type on which perform the operation.
      • 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