Class ImmutableFlowProgramStepConditionalThenPointer.Builder
java.lang.Object
io.resys.hdes.client.api.programs.ImmutableFlowProgramStepConditionalThenPointer.Builder
- Enclosing class:
- ImmutableFlowProgramStepConditionalThenPointer
@NotThreadSafe
public static final class ImmutableFlowProgramStepConditionalThenPointer.Builder
extends Object
Builds instances of type
ImmutableFlowProgramStepConditionalThenPointer.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableFlowProgramStepConditionalThenPointer.expression(ExpressionProgram expression) Initializes the value for theexpressionattribute.Fill a builder with attribute values from the providedFlowProgramStepConditionalThenPointerinstance.Initializes the value for thestepIdattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableFlowProgramStepConditionalThenPointer.Builder from(FlowProgram.FlowProgramStepConditionalThenPointer instance) Fill a builder with attribute values from the providedFlowProgramStepConditionalThenPointerinstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
expression
@CanIgnoreReturnValue public final ImmutableFlowProgramStepConditionalThenPointer.Builder expression(@Nullable ExpressionProgram expression) Initializes the value for theexpressionattribute.- Parameters:
expression- The value for expression (can benull)- Returns:
thisbuilder for use in a chained invocation
-
stepId
@CanIgnoreReturnValue public final ImmutableFlowProgramStepConditionalThenPointer.Builder stepId(String stepId) Initializes the value for thestepIdattribute.- Parameters:
stepId- The value for stepId- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableFlowProgramStepConditionalThenPointer.- Returns:
- An immutable instance of FlowProgramStepConditionalThenPointer
- Throws:
IllegalStateException- if any required attributes are missing
-