Class HttpJsonOperationSnapshot.Builder (2.22.0)

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