Record Class FieldTypeChangeRequest
java.lang.Object
java.lang.Record
org.graylog2.rest.resources.system.field_types.FieldTypeChangeRequest
-
Constructor Summary
ConstructorDescriptionFieldTypeChangeRequest
(@NotNull @NotEmpty Set<String> indexSetsIds, @NotNull @NotEmpty String fieldName, @NotNull @NotEmpty String type, boolean rotateImmediately) Creates an instance of aFieldTypeChangeRequest
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.@NotNull @NotEmpty String
Returns the value of thefieldName
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theindexSetsIds
record component.boolean
Returns the value of therotateImmediately
record component.final String
toString()
Returns a string representation of this record class.@NotNull @NotEmpty String
type()
Returns the value of thetype
record component.
-
Constructor Details
-
FieldTypeChangeRequest
public FieldTypeChangeRequest(@NotNull @NotEmpty @NotNull @NotEmpty Set<String> indexSetsIds, @NotNull @NotEmpty @NotNull @NotEmpty String fieldName, @NotNull @NotEmpty @NotNull @NotEmpty String type, boolean rotateImmediately) Creates an instance of aFieldTypeChangeRequest
record class.- Parameters:
indexSetsIds
- the value for theindexSetsIds
record componentfieldName
- the value for thefieldName
record componenttype
- the value for thetype
record componentrotateImmediately
- the value for therotateImmediately
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
indexSetsIds
Returns the value of theindexSetsIds
record component.- Returns:
- the value of the
indexSetsIds
record component
-
fieldName
Returns the value of thefieldName
record component.- Returns:
- the value of the
fieldName
record component
-
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
rotateImmediately
public boolean rotateImmediately()Returns the value of therotateImmediately
record component.- Returns:
- the value of the
rotateImmediately
record component
-