Class FlowOpsRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class FlowOpsRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for FlowOpsRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public CryptoRequestContext
context
public CryptoRequestContext.Builder
contextBuilder
public Object
request
public ExternalEventContext
flowExternalEventContext
public ExternalEventContext.Builder
flowExternalEventContextBuilder
-
Method Summary
Modifier and Type Method Description CryptoRequestContext
getContext()
Gets the value of the 'context' field. FlowOpsRequest.Builder
setContext(CryptoRequestContext value)
Sets the value of the 'context' field. CryptoRequestContext.Builder
getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. FlowOpsRequest.Builder
setContextBuilder(CryptoRequestContext.Builder value)
Sets the Builder instance for the 'context' field Request context, tenant id, timestamp, etc. Object
getRequest()
Gets the value of the 'request' field. FlowOpsRequest.Builder
setRequest(Object value)
Sets the value of the 'request' field. ExternalEventContext
getFlowExternalEventContext()
Gets the value of the 'flowExternalEventContext' field. FlowOpsRequest.Builder
setFlowExternalEventContext(ExternalEventContext value)
Sets the value of the 'flowExternalEventContext' field. ExternalEventContext.Builder
getFlowExternalEventContextBuilder()
Gets the Builder instance for the 'flowExternalEventContext' field and creates one if it doesn't exist yet. FlowOpsRequest.Builder
setFlowExternalEventContextBuilder(ExternalEventContext.Builder value)
Sets the Builder instance for the 'flowExternalEventContext' field The context of the external event that this request was sent from. boolean
hasContext()
Checks whether the 'context' field has been set. boolean
hasContextBuilder()
Checks whether the 'context' field has an active Builder instance Request context, tenant id, timestamp, etc. FlowOpsRequest.Builder
clearContext()
Clears the value of the 'context' field. boolean
hasRequest()
Checks whether the 'request' field has been set. FlowOpsRequest.Builder
clearRequest()
Clears the value of the 'request' field. boolean
hasFlowExternalEventContext()
Checks whether the 'flowExternalEventContext' field has been set. boolean
hasFlowExternalEventContextBuilder()
Checks whether the 'flowExternalEventContext' field has an active Builder instance The context of the external event that this request was sent from. FlowOpsRequest.Builder
clearFlowExternalEventContext()
Clears the value of the 'flowExternalEventContext' field. FlowOpsRequest
build()
-
-
Method Detail
-
getContext
CryptoRequestContext getContext()
Gets the value of the 'context' field. Request context, tenant id, timestamp, etc.
-
setContext
FlowOpsRequest.Builder setContext(CryptoRequestContext value)
Sets the value of the 'context' field. Request context, tenant id, timestamp, etc.
- Parameters:
value
- The value of 'context'.
-
getContextBuilder
CryptoRequestContext.Builder getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. Request context, tenant id, timestamp, etc.
-
setContextBuilder
FlowOpsRequest.Builder setContextBuilder(CryptoRequestContext.Builder value)
Sets the Builder instance for the 'context' field Request context, tenant id, timestamp, etc.
- Parameters:
value
- The builder instance that must be set.
-
getRequest
Object getRequest()
Gets the value of the 'request' field. Request's payload, depends on the requested operation.
-
setRequest
FlowOpsRequest.Builder setRequest(Object value)
Sets the value of the 'request' field. Request's payload, depends on the requested operation.
- Parameters:
value
- The value of 'request'.
-
getFlowExternalEventContext
ExternalEventContext getFlowExternalEventContext()
Gets the value of the 'flowExternalEventContext' field. The context of the external event that this request was sent from.
-
setFlowExternalEventContext
FlowOpsRequest.Builder setFlowExternalEventContext(ExternalEventContext value)
Sets the value of the 'flowExternalEventContext' field. The context of the external event that this request was sent from.
- Parameters:
value
- The value of 'flowExternalEventContext'.
-
getFlowExternalEventContextBuilder
ExternalEventContext.Builder getFlowExternalEventContextBuilder()
Gets the Builder instance for the 'flowExternalEventContext' field and creates one if it doesn't exist yet. The context of the external event that this request was sent from.
-
setFlowExternalEventContextBuilder
FlowOpsRequest.Builder setFlowExternalEventContextBuilder(ExternalEventContext.Builder value)
Sets the Builder instance for the 'flowExternalEventContext' field The context of the external event that this request was sent from.
- Parameters:
value
- The builder instance that must be set.
-
hasContext
boolean hasContext()
Checks whether the 'context' field has been set. Request context, tenant id, timestamp, etc.
-
hasContextBuilder
boolean hasContextBuilder()
Checks whether the 'context' field has an active Builder instance Request context, tenant id, timestamp, etc.
-
clearContext
FlowOpsRequest.Builder clearContext()
Clears the value of the 'context' field. Request context, tenant id, timestamp, etc.
-
hasRequest
boolean hasRequest()
Checks whether the 'request' field has been set. Request's payload, depends on the requested operation.
-
clearRequest
FlowOpsRequest.Builder clearRequest()
Clears the value of the 'request' field. Request's payload, depends on the requested operation.
-
hasFlowExternalEventContext
boolean hasFlowExternalEventContext()
Checks whether the 'flowExternalEventContext' field has been set. The context of the external event that this request was sent from.
-
hasFlowExternalEventContextBuilder
boolean hasFlowExternalEventContextBuilder()
Checks whether the 'flowExternalEventContext' field has an active Builder instance The context of the external event that this request was sent from.
-
clearFlowExternalEventContext
FlowOpsRequest.Builder clearFlowExternalEventContext()
Clears the value of the 'flowExternalEventContext' field. The context of the external event that this request was sent from.
-
build
FlowOpsRequest build()
-
-
-
-