Record Class IndexPolicyResponse
java.lang.Object
java.lang.Record
io.camunda.zeebe.exporter.opensearch.dto.IndexPolicyResponse
-
Constructor Summary
ConstructorsConstructorDescriptionIndexPolicyResponse(int updatedIndices, boolean failures, List<io.camunda.zeebe.exporter.opensearch.dto.IndexPolicyResponse.FailedIndex> failedIndices) Creates an instance of aIndexPolicyResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.List<io.camunda.zeebe.exporter.opensearch.dto.IndexPolicyResponse.FailedIndex> Returns the value of thefailedIndicesrecord component.booleanfailures()Returns the value of thefailuresrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.intReturns the value of theupdatedIndicesrecord component.
-
Constructor Details
-
IndexPolicyResponse
public IndexPolicyResponse(int updatedIndices, boolean failures, List<io.camunda.zeebe.exporter.opensearch.dto.IndexPolicyResponse.FailedIndex> failedIndices) Creates an instance of aIndexPolicyResponserecord class.- Parameters:
updatedIndices- the value for theupdatedIndicesrecord componentfailures- the value for thefailuresrecord componentfailedIndices- the value for thefailedIndicesrecord 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 '=='. -
updatedIndices
public int updatedIndices()Returns the value of theupdatedIndicesrecord component.- Returns:
- the value of the
updatedIndicesrecord component
-
failures
public boolean failures()Returns the value of thefailuresrecord component.- Returns:
- the value of the
failuresrecord component
-
failedIndices
public List<io.camunda.zeebe.exporter.opensearch.dto.IndexPolicyResponse.FailedIndex> failedIndices()Returns the value of thefailedIndicesrecord component.- Returns:
- the value of the
failedIndicesrecord component
-