public boolean equals()

in src/main/java/com/amazonaws/services/dynamodbv2/AcquireLockOptions.java [443:464]


    public boolean equals(final Object other) {
        if (other == null || !(other instanceof AcquireLockOptions)) {
            return false;
        }

        final AcquireLockOptions otherOptions = (AcquireLockOptions) other;
        return Objects.equals(this.partitionKey, otherOptions.partitionKey)
                && Objects.equals(this.sortKey, otherOptions.sortKey)
                && Objects.equals(this.data, otherOptions.data)
                && Objects.equals(this.replaceData, otherOptions.replaceData)
                && Objects.equals(this.deleteLockOnRelease, otherOptions.deleteLockOnRelease)
                && Objects.equals(this.acquireOnlyIfLockAlreadyExists, otherOptions.acquireOnlyIfLockAlreadyExists)
                && Objects.equals(this.refreshPeriod, otherOptions.refreshPeriod)
                && Objects.equals(this.additionalTimeToWaitForLock, otherOptions.additionalTimeToWaitForLock)
                && Objects.equals(this.timeUnit, otherOptions.timeUnit)
                && Objects.equals(this.additionalAttributes, otherOptions.additionalAttributes)
                && Objects.equals(this.sessionMonitor, otherOptions.sessionMonitor)
                && Objects.equals(this.updateExistingLockRecord, otherOptions.updateExistingLockRecord)
                && Objects.equals(this.shouldSkipBlockingWait, otherOptions.shouldSkipBlockingWait)
                && Objects.equals(this.acquireReleasedLocksConsistently, otherOptions.acquireReleasedLocksConsistently)
                && Objects.equals(this.reentrant, otherOptions.reentrant);
    }