Record Class RollupAction.IsmRollup
java.lang.Object
java.lang.Record
org.graylog2.indexer.datastream.policy.actions.RollupAction.IsmRollup
- Enclosing class:
- RollupAction
public static record RollupAction.IsmRollup(String targetIndex, String description, int pageSize, List<RollupAction.IsmRollup.Dimension> dimensions, List<RollupAction.IsmRollup.Metric> metrics)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final recordstatic final recordstatic interfacestatic final record -
Constructor Summary
ConstructorsConstructorDescriptionIsmRollup(String targetIndex, String description, int pageSize, List<RollupAction.IsmRollup.Dimension> dimensions, List<RollupAction.IsmRollup.Metric> metrics) Creates an instance of aIsmRolluprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.Returns the value of thedimensionsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metrics()Returns the value of themetricsrecord component.intpageSize()Returns the value of thepageSizerecord component.Returns the value of thetargetIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IsmRollup
public IsmRollup(String targetIndex, String description, int pageSize, List<RollupAction.IsmRollup.Dimension> dimensions, List<RollupAction.IsmRollup.Metric> metrics) Creates an instance of aIsmRolluprecord class.- Parameters:
targetIndex- the value for thetargetIndexrecord componentdescription- the value for thedescriptionrecord componentpageSize- the value for thepageSizerecord componentdimensions- the value for thedimensionsrecord componentmetrics- the value for themetricsrecord 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 '=='. -
targetIndex
Returns the value of thetargetIndexrecord component.- Returns:
- the value of the
targetIndexrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
pageSize
public int pageSize()Returns the value of thepageSizerecord component.- Returns:
- the value of the
pageSizerecord component
-
dimensions
Returns the value of thedimensionsrecord component.- Returns:
- the value of the
dimensionsrecord component
-
metrics
Returns the value of themetricsrecord component.- Returns:
- the value of the
metricsrecord component
-