Package io.resys.hdes.client.api.ast
Class ImmutableAstFlowInputType
java.lang.Object
io.resys.hdes.client.api.ast.ImmutableAstFlowInputType
- All Implemented Interfaces:
AstFlow.AstFlowInputType,Serializable
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableAstFlowInputType
extends Object
implements AstFlow.AstFlowInputType
Immutable implementation of
AstFlow.AstFlowInputType.
Use the builder to create immutable instances:
ImmutableAstFlowInputType.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableAstFlowInputType. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableAstFlowInputType.static ImmutableAstFlowInputTypecopyOf(AstFlow.AstFlowInputType instance) Creates an immutable copy of aAstFlow.AstFlowInputTypevalue.booleanThis instance is equal to all instances ofImmutableAstFlowInputTypethat have equal attribute values.getName()getRef()getValue()inthashCode()Computes a hash code from attributes:name,value,ref.toString()Prints the immutable valueAstFlowInputTypewith attribute values.Copy the current immutable object by setting a value for thenameattribute.Copy the current immutable object by setting a value for therefattribute.Copy the current immutable object by setting a value for thevalueattribute.
-
Method Details
-
getName
- Specified by:
getNamein interfaceAstFlow.AstFlowInputType- Returns:
- The value of the
nameattribute
-
getValue
- Specified by:
getValuein interfaceAstFlow.AstFlowInputType- Returns:
- The value of the
valueattribute
-
getRef
- Specified by:
getRefin interfaceAstFlow.AstFlowInputType- Returns:
- The value of the
refattribute
-
withName
Copy the current immutable object by setting a value for thenameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for name- Returns:
- A modified copy of the
thisobject
-
withValue
Copy the current immutable object by setting a value for thevalueattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for value- Returns:
- A modified copy of the
thisobject
-
withRef
Copy the current immutable object by setting a value for therefattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for ref (can benull)- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableAstFlowInputTypethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:name,value,ref. -
toString
Prints the immutable valueAstFlowInputTypewith attribute values. -
copyOf
Creates an immutable copy of aAstFlow.AstFlowInputTypevalue. 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 AstFlowInputType instance
-
builder
Creates a builder forImmutableAstFlowInputType.ImmutableAstFlowInputType.builder() .name(String) // requiredname.value(String) // requiredvalue.ref(String | null) // nullableref.build();- Returns:
- A new ImmutableAstFlowInputType builder
-