Package io.resys.hdes.client.api
Class ImmutableDebugRequest
java.lang.Object
io.resys.hdes.client.api.ImmutableDebugRequest
- All Implemented Interfaces:
HdesComposer.DebugRequest,Serializable
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableDebugRequest
extends Object
implements HdesComposer.DebugRequest
Immutable implementation of
HdesComposer.DebugRequest.
Use the builder to create immutable instances:
ImmutableDebugRequest.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableDebugRequest. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableDebugRequest.static ImmutableDebugRequestcopyOf(HdesComposer.DebugRequest instance) Creates an immutable copy of aHdesComposer.DebugRequestvalue.booleanThis instance is equal to all instances ofImmutableDebugRequestthat have equal attribute values.getId()getInput()inthashCode()Computes a hash code from attributes:id,input,inputCSV.toString()Prints the immutable valueDebugRequestwith attribute values.final ImmutableDebugRequestCopy the current immutable object by setting a value for theidattribute.final ImmutableDebugRequestCopy the current immutable object by setting a value for theinputattribute.final ImmutableDebugRequestwithInputCSV(String value) Copy the current immutable object by setting a value for theinputCSVattribute.
-
Method Details
-
getId
- Specified by:
getIdin interfaceHdesComposer.DebugRequest- Returns:
- The value of the
idattribute
-
getInput
- Specified by:
getInputin interfaceHdesComposer.DebugRequest- Returns:
- The value of the
inputattribute
-
getInputCSV
- Specified by:
getInputCSVin interfaceHdesComposer.DebugRequest- Returns:
- The value of the
inputCSVattribute
-
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
-
withInput
Copy the current immutable object by setting a value for theinputattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for input (can benull)- Returns:
- A modified copy of the
thisobject
-
withInputCSV
Copy the current immutable object by setting a value for theinputCSVattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for inputCSV (can benull)- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableDebugRequestthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:id,input,inputCSV. -
toString
Prints the immutable valueDebugRequestwith attribute values. -
copyOf
Creates an immutable copy of aHdesComposer.DebugRequestvalue. 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 DebugRequest instance
-
builder
Creates a builder forImmutableDebugRequest.ImmutableDebugRequest.builder() .id(String) // requiredid.input(String | null) // nullableinput.inputCSV(String | null) // nullableinputCSV.build();- Returns:
- A new ImmutableDebugRequest builder
-