Record Class ResourceAction.ModifyRequest
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.config.actions.ResourceAction.ModifyRequest
- Enclosing interface:
- ResourceAction
public static record ResourceAction.ModifyRequest(ResourcePath path, @Nullable String collectionName, ImmutableBytes signature, Consumer<ResourceBuilder> builder)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionModifyRequest
(ResourcePath path, @Nullable String collectionName, ImmutableBytes signature, Consumer<ResourceBuilder> builder) Creates an instance of aModifyRequest
record class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Returns the value of thebuilder
record component.@Nullable String
Returns the value of thecollectionName
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.path()
Returns the value of thepath
record component.Returns the value of thesignature
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ModifyRequest
public ModifyRequest(ResourcePath path, @Nullable @Nullable String collectionName, ImmutableBytes signature, Consumer<ResourceBuilder> builder) Creates an instance of aModifyRequest
record class.- Parameters:
path
- the value for thepath
record componentcollectionName
- the value for thecollectionName
record componentsignature
- the value for thesignature
record componentbuilder
- the value for thebuilder
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-
collectionName
Returns the value of thecollectionName
record component.- Returns:
- the value of the
collectionName
record component
-
signature
Returns the value of thesignature
record component.- Returns:
- the value of the
signature
record component
-
builder
Returns the value of thebuilder
record component.- Returns:
- the value of the
builder
record component
-