Class StartFlow.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class StartFlow.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for StartFlow instances.
-
-
Field Summary
Fields Modifier and Type Field Description public FlowStartContext
startContext
public FlowStartContext.Builder
startContextBuilder
public String
flowStartArgs
-
Method Summary
Modifier and Type Method Description FlowStartContext
getStartContext()
Gets the value of the 'startContext' field. StartFlow.Builder
setStartContext(FlowStartContext value)
Sets the value of the 'startContext' field. FlowStartContext.Builder
getStartContextBuilder()
Gets the Builder instance for the 'startContext' field and creates one if it doesn't exist yet. StartFlow.Builder
setStartContextBuilder(FlowStartContext.Builder value)
Sets the Builder instance for the 'startContext' field The request ID assigned by the client that created the flow. String
getFlowStartArgs()
Gets the value of the 'flowStartArgs' field. StartFlow.Builder
setFlowStartArgs(String value)
Sets the value of the 'flowStartArgs' field. boolean
hasStartContext()
Checks whether the 'startContext' field has been set. boolean
hasStartContextBuilder()
Checks whether the 'startContext' field has an active Builder instance The request ID assigned by the client that created the flow. StartFlow.Builder
clearStartContext()
Clears the value of the 'startContext' field. boolean
hasFlowStartArgs()
Checks whether the 'flowStartArgs' field has been set. StartFlow.Builder
clearFlowStartArgs()
Clears the value of the 'flowStartArgs' field. StartFlow
build()
-
-
Method Detail
-
getStartContext
FlowStartContext getStartContext()
Gets the value of the 'startContext' field. The request ID assigned by the client that created the flow.
- Returns:
The value.
-
setStartContext
StartFlow.Builder setStartContext(FlowStartContext value)
Sets the value of the 'startContext' field. The request ID assigned by the client that created the flow.
- Parameters:
value
- The value of 'startContext'.- Returns:
This builder.
-
getStartContextBuilder
FlowStartContext.Builder getStartContextBuilder()
Gets the Builder instance for the 'startContext' field and creates one if it doesn't exist yet. The request ID assigned by the client that created the flow.
- Returns:
This builder.
-
setStartContextBuilder
StartFlow.Builder setStartContextBuilder(FlowStartContext.Builder value)
Sets the Builder instance for the 'startContext' field The request ID assigned by the client that created the flow.
- Parameters:
value
- The builder instance that must be set.- Returns:
This builder.
-
getFlowStartArgs
String getFlowStartArgs()
Gets the value of the 'flowStartArgs' field. A client supplied string, passed to the flow when it is started. This is used by the client to pass data to a flow.
- Returns:
The value.
-
setFlowStartArgs
StartFlow.Builder setFlowStartArgs(String value)
Sets the value of the 'flowStartArgs' field. A client supplied string, passed to the flow when it is started. This is used by the client to pass data to a flow.
- Parameters:
value
- The value of 'flowStartArgs'.- Returns:
This builder.
-
hasStartContext
boolean hasStartContext()
Checks whether the 'startContext' field has been set. The request ID assigned by the client that created the flow.
- Returns:
True if the 'startContext' field has been set, false otherwise.
-
hasStartContextBuilder
boolean hasStartContextBuilder()
Checks whether the 'startContext' field has an active Builder instance The request ID assigned by the client that created the flow.
- Returns:
True if the 'startContext' field has an active Builder instance
-
clearStartContext
StartFlow.Builder clearStartContext()
Clears the value of the 'startContext' field. The request ID assigned by the client that created the flow.
- Returns:
This builder.
-
hasFlowStartArgs
boolean hasFlowStartArgs()
Checks whether the 'flowStartArgs' field has been set. A client supplied string, passed to the flow when it is started. This is used by the client to pass data to a flow.
- Returns:
True if the 'flowStartArgs' field has been set, false otherwise.
-
clearFlowStartArgs
StartFlow.Builder clearFlowStartArgs()
Clears the value of the 'flowStartArgs' field. A client supplied string, passed to the flow when it is started. This is used by the client to pass data to a flow.
- Returns:
This builder.
-
-
-
-