Class FlowOpsResponse.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class FlowOpsResponse.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for FlowOpsResponse instances.
-
-
Field Summary
Fields Modifier and Type Field Description public CryptoResponseContext
context
public CryptoResponseContext.Builder
contextBuilder
public Object
response
public ExceptionEnvelope
exception
public ExceptionEnvelope.Builder
exceptionBuilder
-
Method Summary
Modifier and Type Method Description CryptoResponseContext
getContext()
Gets the value of the 'context' field. FlowOpsResponse.Builder
setContext(CryptoResponseContext value)
Sets the value of the 'context' field. CryptoResponseContext.Builder
getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. FlowOpsResponse.Builder
setContextBuilder(CryptoResponseContext.Builder value)
Sets the Builder instance for the 'context' field Response context, tenant id, timestamp, etc. Object
getResponse()
Gets the value of the 'response' field. FlowOpsResponse.Builder
setResponse(Object value)
Sets the value of the 'response' field. ExceptionEnvelope
getException()
Gets the value of the 'exception' field. FlowOpsResponse.Builder
setException(ExceptionEnvelope value)
Sets the value of the 'exception' field. ExceptionEnvelope.Builder
getExceptionBuilder()
Gets the Builder instance for the 'exception' field and creates one if it doesn't exist yet. FlowOpsResponse.Builder
setExceptionBuilder(ExceptionEnvelope.Builder value)
Sets the Builder instance for the 'exception' field Exception information boolean
hasContext()
Checks whether the 'context' field has been set. boolean
hasContextBuilder()
Checks whether the 'context' field has an active Builder instance Response context, tenant id, timestamp, etc. FlowOpsResponse.Builder
clearContext()
Clears the value of the 'context' field. boolean
hasResponse()
Checks whether the 'response' field has been set. FlowOpsResponse.Builder
clearResponse()
Clears the value of the 'response' field. boolean
hasException()
Checks whether the 'exception' field has been set. boolean
hasExceptionBuilder()
Checks whether the 'exception' field has an active Builder instance Exception information FlowOpsResponse.Builder
clearException()
Clears the value of the 'exception' field. FlowOpsResponse
build()
-
-
Method Detail
-
getContext
CryptoResponseContext getContext()
Gets the value of the 'context' field. Response context, tenant id, timestamp, etc.
-
setContext
FlowOpsResponse.Builder setContext(CryptoResponseContext value)
Sets the value of the 'context' field. Response context, tenant id, timestamp, etc.
- Parameters:
value
- The value of 'context'.
-
getContextBuilder
CryptoResponseContext.Builder getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. Response context, tenant id, timestamp, etc.
-
setContextBuilder
FlowOpsResponse.Builder setContextBuilder(CryptoResponseContext.Builder value)
Sets the Builder instance for the 'context' field Response context, tenant id, timestamp, etc.
- Parameters:
value
- The builder instance that must be set.
-
getResponse
Object getResponse()
Gets the value of the 'response' field. Response's payload, depends on the requested operation
-
setResponse
FlowOpsResponse.Builder setResponse(Object value)
Sets the value of the 'response' field. Response's payload, depends on the requested operation
- Parameters:
value
- The value of 'response'.
-
getException
ExceptionEnvelope getException()
Gets the value of the 'exception' field. Exception information
-
setException
FlowOpsResponse.Builder setException(ExceptionEnvelope value)
Sets the value of the 'exception' field. Exception information
- Parameters:
value
- The value of 'exception'.
-
getExceptionBuilder
ExceptionEnvelope.Builder getExceptionBuilder()
Gets the Builder instance for the 'exception' field and creates one if it doesn't exist yet. Exception information
-
setExceptionBuilder
FlowOpsResponse.Builder setExceptionBuilder(ExceptionEnvelope.Builder value)
Sets the Builder instance for the 'exception' field Exception information
- Parameters:
value
- The builder instance that must be set.
-
hasContext
boolean hasContext()
Checks whether the 'context' field has been set. Response context, tenant id, timestamp, etc.
-
hasContextBuilder
boolean hasContextBuilder()
Checks whether the 'context' field has an active Builder instance Response context, tenant id, timestamp, etc.
-
clearContext
FlowOpsResponse.Builder clearContext()
Clears the value of the 'context' field. Response context, tenant id, timestamp, etc.
-
hasResponse
boolean hasResponse()
Checks whether the 'response' field has been set. Response's payload, depends on the requested operation
-
clearResponse
FlowOpsResponse.Builder clearResponse()
Clears the value of the 'response' field. Response's payload, depends on the requested operation
-
hasException
boolean hasException()
Checks whether the 'exception' field has been set. Exception information
-
hasExceptionBuilder
boolean hasExceptionBuilder()
Checks whether the 'exception' field has an active Builder instance Exception information
-
clearException
FlowOpsResponse.Builder clearException()
Clears the value of the 'exception' field. Exception information
-
build
FlowOpsResponse build()
-
-
-
-