Class HttpJsonOperationSnapshot.Builder (2.20.0)

Stay organized with collections Save and categorize content based on your preferences.
public static class HttpJsonOperationSnapshot.Builder

Inheritance

Object > HttpJsonOperationSnapshot.Builder

Constructors

Builder()

public Builder()

Methods

build()

public HttpJsonOperationSnapshot build()
Returns
TypeDescription
HttpJsonOperationSnapshot

setDone(boolean done)

public HttpJsonOperationSnapshot.Builder setDone(boolean done)
Parameter
NameDescription
doneboolean
Returns
TypeDescription
HttpJsonOperationSnapshot.Builder

setError(int httpStatus, String errorMessage)

public HttpJsonOperationSnapshot.Builder setError(int httpStatus, String errorMessage)
Parameters
NameDescription
httpStatusint
errorMessageString
Returns
TypeDescription
HttpJsonOperationSnapshot.Builder

setMetadata(Object metadata)

public HttpJsonOperationSnapshot.Builder setMetadata(Object metadata)
Parameter
NameDescription
metadataObject
Returns
TypeDescription
HttpJsonOperationSnapshot.Builder

setName(String name)

public HttpJsonOperationSnapshot.Builder setName(String name)
Parameter
NameDescription
nameString
Returns
TypeDescription
HttpJsonOperationSnapshot.Builder

setResponse(Object response)

public HttpJsonOperationSnapshot.Builder setResponse(Object response)
Parameter
NameDescription
responseObject
Returns
TypeDescription
HttpJsonOperationSnapshot.Builder