Class ImmutableFlowProgramStepEndPointer
java.lang.Object
io.resys.hdes.client.api.programs.ImmutableFlowProgramStepEndPointer
- All Implemented Interfaces:
FlowProgram.FlowProgramStepEndPointer,FlowProgram.FlowProgramStepPointer,Serializable
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableFlowProgramStepEndPointer
extends Object
implements FlowProgram.FlowProgramStepEndPointer
Immutable implementation of
FlowProgram.FlowProgramStepEndPointer.
Use the builder to create immutable instances:
ImmutableFlowProgramStepEndPointer.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableFlowProgramStepEndPointer. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableFlowProgramStepEndPointer.copyOf(FlowProgram.FlowProgramStepEndPointer instance) Creates an immutable copy of aFlowProgram.FlowProgramStepEndPointervalue.booleanThis instance is equal to all instances ofImmutableFlowProgramStepEndPointerthat have equal attribute values.getType()inthashCode()Computes a hash code from attributes:type.toString()Prints the immutable valueFlowProgramStepEndPointerwith attribute values.Copy the current immutable object by setting a value for thetypeattribute.
-
Method Details
-
getType
- Specified by:
getTypein interfaceFlowProgram.FlowProgramStepPointer- Returns:
- The value of the
typeattribute
-
withType
public final ImmutableFlowProgramStepEndPointer withType(FlowProgram.FlowProgramStepPointerType value) Copy the current immutable object by setting a value for thetypeattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for type- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableFlowProgramStepEndPointerthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:type. -
toString
Prints the immutable valueFlowProgramStepEndPointerwith attribute values. -
copyOf
public static ImmutableFlowProgramStepEndPointer copyOf(FlowProgram.FlowProgramStepEndPointer instance) Creates an immutable copy of aFlowProgram.FlowProgramStepEndPointervalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable FlowProgramStepEndPointer instance
-
builder
Creates a builder forImmutableFlowProgramStepEndPointer.ImmutableFlowProgramStepEndPointer.builder() .type(io.resys.hdes.client.api.programs.FlowProgram.FlowProgramStepPointerType) // requiredtype.build();- Returns:
- A new ImmutableFlowProgramStepEndPointer builder
-