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