Interface Deployment.UpdateStages.WithParameters

  • All Known Subinterfaces:
    Deployment.Update
    Enclosing interface:
    Deployment.UpdateStages

    public static interface Deployment.UpdateStages.WithParameters
    A deployment update allowing to change the parameters.
    • Method Detail

      • withParameters

        Deployment.Update withParameters​(Object parameters)
        Specifies the parameters as a Java object.
        Parameters:
        parameters - the Java object
        Returns:
        the next stage of the deployment update
      • withParameters

        Deployment.Update withParameters​(String parametersJson)
                                  throws IOException
        Specifies the parameters as a JSON string.
        Parameters:
        parametersJson - the JSON string
        Returns:
        the next stage of the deployment update
        Throws:
        IOException - exception thrown from serialization/deserialization
      • withParametersLink

        Deployment.Update withParametersLink​(String uri,
                                             String contentVersion)
        Specifies the parameters as a URL.
        Parameters:
        uri - the location of the remote parameters file
        contentVersion - the version of the parameters file
        Returns:
        the next stage of the deployment update