Deployment.UpdateStages.WithParameters Interface

public static interface Deployment.UpdateStages.WithParameters

A deployment update allowing to change the parameters.

Method Summary

Modifier and Type Method and Description
abstract Update withParameters(Object parameters)

Specifies the parameters as a Java object.

abstract Update withParameters(String parametersJson)

Specifies the parameters as a JSON string.

abstract Update withParametersLink(String uri, String contentVersion)

Specifies the parameters as a URL.

Method Details

withParameters

public abstract 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

public abstract Deployment.Update withParameters(String parametersJson)

Specifies the parameters as a JSON string.

Parameters:

parametersJson - the JSON string

Returns:

the next stage of the deployment update

Throws:

java.io.IOException - exception thrown from serialization/deserialization

withParametersLink

public abstract 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

Applies to