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