Class ImmutableFlowResultErrorLog
java.lang.Object
io.resys.hdes.client.api.programs.ImmutableFlowResultErrorLog
- All Implemented Interfaces:
FlowProgram.FlowResultErrorLog,Serializable
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableFlowResultErrorLog
extends Object
implements FlowProgram.FlowResultErrorLog
Immutable implementation of
FlowProgram.FlowResultErrorLog.
Use the builder to create immutable instances:
ImmutableFlowResultErrorLog.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableFlowResultErrorLog. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableFlowResultErrorLog.static ImmutableFlowResultErrorLogcopyOf(FlowProgram.FlowResultErrorLog instance) Creates an immutable copy of aFlowProgram.FlowResultErrorLogvalue.booleanThis instance is equal to all instances ofImmutableFlowResultErrorLogthat have equal attribute values.getId()getMsg()inthashCode()Computes a hash code from attributes:id,msg.toString()Prints the immutable valueFlowResultErrorLogwith attribute values.Copy the current immutable object by setting a value for theidattribute.Copy the current immutable object by setting a value for themsgattribute.
-
Method Details
-
getId
- Specified by:
getIdin interfaceFlowProgram.FlowResultErrorLog- Returns:
- The value of the
idattribute
-
getMsg
- Specified by:
getMsgin interfaceFlowProgram.FlowResultErrorLog- Returns:
- The value of the
msgattribute
-
withId
Copy the current immutable object by setting a value for theidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for id- Returns:
- A modified copy of the
thisobject
-
withMsg
Copy the current immutable object by setting a value for themsgattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for msg- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableFlowResultErrorLogthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:id,msg. -
toString
Prints the immutable valueFlowResultErrorLogwith attribute values. -
copyOf
Creates an immutable copy of aFlowProgram.FlowResultErrorLogvalue. 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 FlowResultErrorLog instance
-
builder
Creates a builder forImmutableFlowResultErrorLog.ImmutableFlowResultErrorLog.builder() .id(String) // requiredid.msg(String) // requiredmsg.build();- Returns:
- A new ImmutableFlowResultErrorLog builder
-