Class ImmutableFlowProgramStepThenPointer.Builder
java.lang.Object
io.resys.hdes.client.api.programs.ImmutableFlowProgramStepThenPointer.Builder
- Enclosing class:
- ImmutableFlowProgramStepThenPointer
Builds instances of type
ImmutableFlowProgramStepThenPointer.
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 newImmutableFlowProgramStepThenPointer.from(FlowProgram.FlowProgramStepPointer instance) Fill a builder with attribute values from the providedio.resys.hdes.client.api.programs.FlowProgram.FlowProgramStepPointerinstance.from(FlowProgram.FlowProgramStepThenPointer instance) Fill a builder with attribute values from the providedio.resys.hdes.client.api.programs.FlowProgram.FlowProgramStepThenPointerinstance.Initializes the value for thestepIdattribute.Initializes the value for thetypeattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableFlowProgramStepThenPointer.Builder from(FlowProgram.FlowProgramStepThenPointer instance) Fill a builder with attribute values from the providedio.resys.hdes.client.api.programs.FlowProgram.FlowProgramStepThenPointerinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
@CanIgnoreReturnValue public final ImmutableFlowProgramStepThenPointer.Builder from(FlowProgram.FlowProgramStepPointer instance) Fill a builder with attribute values from the providedio.resys.hdes.client.api.programs.FlowProgram.FlowProgramStepPointerinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
type
@CanIgnoreReturnValue public final ImmutableFlowProgramStepThenPointer.Builder type(FlowProgram.FlowProgramStepPointerType type) Initializes the value for thetypeattribute.- Parameters:
type- The value for type- Returns:
thisbuilder for use in a chained invocation
-
stepId
@CanIgnoreReturnValue public final ImmutableFlowProgramStepThenPointer.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 newImmutableFlowProgramStepThenPointer.- Returns:
- An immutable instance of FlowProgramStepThenPointer
- Throws:
IllegalStateException- if any required attributes are missing
-