Class LicenseClient

    • Method Detail

      • putLicense

        public PutLicenseResponse putLicense​(PutLicenseRequest request,
                                             RequestOptions options)
                                      throws java.io.IOException
        Updates license for the cluster.
        Parameters:
        options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
        Returns:
        the response
        Throws:
        java.io.IOException - in case there is a problem sending the request or parsing back the response
      • getLicense

        public GetLicenseResponse getLicense​(GetLicenseRequest request,
                                             RequestOptions options)
                                      throws java.io.IOException
        Returns the current license for the cluster.
        Parameters:
        options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
        Returns:
        the response
        Throws:
        java.io.IOException - in case there is a problem sending the request or parsing back the response
      • deleteLicense

        public AcknowledgedResponse deleteLicense​(DeleteLicenseRequest request,
                                                  RequestOptions options)
                                           throws java.io.IOException
        Deletes license from the cluster.
        Parameters:
        options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
        Returns:
        the response
        Throws:
        java.io.IOException - in case there is a problem sending the request or parsing back the response
      • startTrial

        public StartTrialResponse startTrial​(StartTrialRequest request,
                                             RequestOptions options)
                                      throws java.io.IOException
        Starts a trial license on the cluster.
        Parameters:
        options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
        Returns:
        the response
        Throws:
        java.io.IOException - in case there is a problem sending the request or parsing back the response
      • startBasic

        public StartBasicResponse startBasic​(StartBasicRequest request,
                                             RequestOptions options)
                                      throws java.io.IOException
        Initiates an indefinite basic license.
        Parameters:
        options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
        Returns:
        the response
        Throws:
        java.io.IOException - in case there is a problem sending the request or parsing back the response
      • getTrialStatus

        public GetTrialStatusResponse getTrialStatus​(RequestOptions options)
                                              throws java.io.IOException
        Retrieve the license trial status
        Parameters:
        options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
        Returns:
        the response
        Throws:
        java.io.IOException - in case there is a problem sending the request or parsing back the response
      • getBasicStatus

        public GetBasicStatusResponse getBasicStatus​(RequestOptions options)
                                              throws java.io.IOException
        Retrieve the license basic status
        Parameters:
        options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
        Returns:
        the response
        Throws:
        java.io.IOException - in case there is a problem sending the request or parsing back the response