Record Class CustomFieldMappingRemovalRequest
java.lang.Object
java.lang.Record
org.graylog2.rest.resources.system.field_types.CustomFieldMappingRemovalRequest
-
Constructor Summary
ConstructorsConstructorDescriptionCustomFieldMappingRemovalRequest(@NotNull @NotEmpty Set<String> indexSetsIds, @NotNull @NotEmpty List<String> fieldNames, boolean rotateImmediately) Creates an instance of aCustomFieldMappingRemovalRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldNamesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theindexSetsIdsrecord component.booleanReturns the value of therotateImmediatelyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CustomFieldMappingRemovalRequest
public CustomFieldMappingRemovalRequest(@NotNull @NotEmpty @NotNull @NotEmpty Set<String> indexSetsIds, @NotNull @NotEmpty @NotNull @NotEmpty List<String> fieldNames, boolean rotateImmediately) Creates an instance of aCustomFieldMappingRemovalRequestrecord class.- Parameters:
indexSetsIds- the value for theindexSetsIdsrecord componentfieldNames- the value for thefieldNamesrecord componentrotateImmediately- the value for therotateImmediatelyrecord 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 theindexSetsIdsrecord component.- Returns:
- the value of the
indexSetsIdsrecord component
-
fieldNames
Returns the value of thefieldNamesrecord component.- Returns:
- the value of the
fieldNamesrecord component
-
rotateImmediately
public boolean rotateImmediately()Returns the value of therotateImmediatelyrecord component.- Returns:
- the value of the
rotateImmediatelyrecord component
-